Skip to content

Commit 9ca3560

Browse files
committed
Support notoc metadata
1 parent 2e09895 commit 9ca3560

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1+
{% if meta is defined and not (meta is not none and 'notoc' in meta) %}
12
{% for toc_item in theme_page_sidebar_items %}
23
<div class="toc-item">
34
{% include toc_item %}
45
</div>
56
{% endfor %}
7+
{% endif %}

0 commit comments

Comments
 (0)