Skip to content

Commit eba3cd4

Browse files
committed
Limit ToC depth
1 parent 2d4e417 commit eba3cd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_layouts/post.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ <h1 itemprop="name headline" elementtiming=page-title style="view-transition-na
2626
{% if page.toc != false %}
2727
<details class=c-toc>
2828
<summary>Table of Contents</summary>
29-
{% include toc.html html=content ordered=true %}
29+
{% include toc.html html=content ordered=true h_max=3 %}
3030
</details>
3131
{% endif %}
3232

0 commit comments

Comments
 (0)