Remove `no_toc_section`.

This commit is contained in:
XhmikosR 2018-11-28 19:55:41 +02:00
parent 24eb9a75e9
commit 8d81226a8e
2 changed files with 3 additions and 3 deletions

View File

@ -62,6 +62,6 @@ cdn:
toc: toc:
min_level: 2 min_level: 2
max_level: 4 max_level: 4
no_toc_section_class: no_toc_section_class:
- "bd-callout"
- "bd-example" - "bd-example"
- "no_toc_section"

View File

@ -4,6 +4,6 @@
and type is one of: info (default), danger, warning and type is one of: info (default), danger, warning
{%- endcomment -%} {%- endcomment -%}
{%- assign css_class = include.type | default: "info" -%} {%- assign css_class = include.type | default: "info" -%}
<div class="bd-callout bd-callout-{{ css_class }} no_toc_section"> <div class="bd-callout bd-callout-{{ css_class }}">
{{- include.content | markdownify -}} {{- include.content | markdownify -}}
</div> </div>