aboutsummaryrefslogtreecommitdiff
path: root/site/_includes/example.html
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2018-10-14 08:43:05 +0300
committerXhmikosR <[email protected]>2018-10-20 21:39:53 +0300
commit700f74cebde67e84e542699563e52f81f6891d40 (patch)
tree1e3d16da79eb4b40a5bfe56d4230d31373e62a54 /site/_includes/example.html
parent79db26491015c9277e2bb1407947ba74fcadd7e2 (diff)
downloadbootstrap-700f74cebde67e84e542699563e52f81f6891d40.tar.xz
bootstrap-700f74cebde67e84e542699563e52f81f6891d40.zip
Make use of jekyll-toc's `no_toc_section` class.
Requires jekyll-toc v0.8.0.
Diffstat (limited to 'site/_includes/example.html')
-rw-r--r--site/_includes/example.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/site/_includes/example.html b/site/_includes/example.html
index 24d12626b..d2f8182d6 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{% if preview_class %} {{ preview_class }}{% endif %}">
+<div{% if preview_id %} id="{{ preview_id }}"{% endif %} class="bd-example no_toc_section{% if preview_class %} {{ preview_class }}{% endif %}">
{{- include.content -}}
</div>
{%- endif -%}