Skip to content

Commit 534dfdd

Browse files
committed
Allow overriding toc levels at the guide level
For reference guides, having a deeper TOC might make sense, typically for the Qute reference guide.
1 parent 01c36ff commit 534dfdd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_layouts/guides.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ <h1 class="text-caps">{{page.title}} {{page.docversion}}</h1>
5959
{{ content }}
6060
</div>
6161
<div class="grid__item width-4-12 width-12-12-m tocwrapper">
62-
<div class="hide-mobile toc">{{ page.document | tocify_asciidoc: 2 }}</div>
62+
<div class="hide-mobile toc">{{ page.document | tocify_asciidoc }}</div>
6363
</div>
6464
</div>
6565
{% if relations and relations[guide_url] -%}

0 commit comments

Comments
 (0)