diff options
| author | XhmikosR <[email protected]> | 2018-10-21 23:00:56 +0300 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2018-10-22 21:57:25 +0300 |
| commit | 807e8fe4a2d955503425ec6f20fa000228089453 (patch) | |
| tree | cc461e501a7608bae3cc2ca7891e28a51e952728 | |
| parent | 0c56f054a5c8c1d1329465a06086e48b001d8104 (diff) | |
| download | bootstrap-807e8fe4a2d955503425ec6f20fa000228089453.tar.xz bootstrap-807e8fe4a2d955503425ec6f20fa000228089453.zip | |
Further ToC fixes.
| -rw-r--r-- | _config.yml | 1 | ||||
| -rw-r--r-- | site/_includes/example.html | 2 |
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 -%} |
