]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Further ToC fixes.
authorXhmikosR <xhmikosr@gmail.com>
Sun, 21 Oct 2018 20:00:56 +0000 (23:00 +0300)
committerXhmikosR <xhmikosr@gmail.com>
Mon, 22 Oct 2018 18:57:25 +0000 (21:57 +0300)
_config.yml
site/_includes/example.html

index e073dce9b9df4009d6b67d3d12be93c014d7535e..c2d654cd2b325ec2cf30df9689815f0aed5a1112 100644 (file)
@@ -62,3 +62,4 @@ cdn:
 toc:
   min_level:        2
   max_level:        4
+  no_toc_section_class: "bd-example"
index d2f8182d680b10aa63271975e3b459c44c649c2f..24d12626b66a1b46ceb6c22ab4d5209c3b8cabe7 100644 (file)
@@ -11,7 +11,7 @@ optional: hide_markup - disabled (default)
 {%- assign preview_class = include.class -%}
 
 {%- if include.hide_preview == null -%}
-<div{% if preview_id %} id="{{ preview_id }}"{% endif %} class="bd-example no_toc_section{% if preview_class %} {{ preview_class }}{% endif %}">
+<div{% if preview_id %} id="{{ preview_id }}"{% endif %} class="bd-example{% if preview_class %} {{ preview_class }}{% endif %}">
   {{- include.content -}}
 </div>
 {%- endif -%}