aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2018-10-21 23:00:56 +0300
committerXhmikosR <[email protected]>2018-10-22 21:57:25 +0300
commit807e8fe4a2d955503425ec6f20fa000228089453 (patch)
treecc461e501a7608bae3cc2ca7891e28a51e952728
parent0c56f054a5c8c1d1329465a06086e48b001d8104 (diff)
downloadbootstrap-807e8fe4a2d955503425ec6f20fa000228089453.tar.xz
bootstrap-807e8fe4a2d955503425ec6f20fa000228089453.zip
Further ToC fixes.
-rw-r--r--_config.yml1
-rw-r--r--site/_includes/example.html2
2 files changed, 2 insertions, 1 deletions
diff --git a/_config.yml b/_config.yml
index e073dce9b..c2d654cd2 100644
--- a/_config.yml
+++ b/_config.yml
@@ -62,3 +62,4 @@ cdn:
toc:
min_level: 2
max_level: 4
+ no_toc_section_class: "bd-example"
diff --git a/site/_includes/example.html b/site/_includes/example.html
index d2f8182d6..24d12626b 100644
--- a/site/_includes/example.html
+++ b/site/_includes/example.html
@@ -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 -%}