2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-14 18:42:30 +03:00

Make use of jekyll-toc's no_toc_section class.

Requires jekyll-toc v0.8.0.
This commit is contained in:
XhmikosR
2018-10-14 08:43:05 +03:00
parent 79db264910
commit 700f74cebd
5 changed files with 5 additions and 9 deletions
+1 -1
View File
@@ -4,6 +4,6 @@ where content is a capture with the content
and type is one of: info (default), danger, warning
{%- endcomment -%}
{%- assign css_class = include.type | default: "info" -%}
<div class="bd-callout bd-callout-{{ css_class }}">
<div class="bd-callout bd-callout-{{ css_class }} no_toc_section">
{{- include.content | markdownify -}}
</div>