mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-29 21:52:22 +01:00
Further ToC fixes.
This commit is contained in:
parent
0c56f054a5
commit
807e8fe4a2
@ -62,3 +62,4 @@ cdn:
|
|||||||
toc:
|
toc:
|
||||||
min_level: 2
|
min_level: 2
|
||||||
max_level: 4
|
max_level: 4
|
||||||
|
no_toc_section_class: "bd-example"
|
||||||
|
@ -11,7 +11,7 @@ optional: hide_markup - disabled (default)
|
|||||||
{%- assign preview_class = include.class -%}
|
{%- assign preview_class = include.class -%}
|
||||||
|
|
||||||
{%- if include.hide_preview == null -%}
|
{%- 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 -}}
|
{{- include.content -}}
|
||||||
</div>
|
</div>
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user