Skip to content

Commit

Permalink
Support notoc metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
jarrodmillman committed Sep 27, 2022
1 parent 2e09895 commit 9ca3560
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{% if meta is defined and not (meta is not none and 'notoc' in meta) %}
{% for toc_item in theme_page_sidebar_items %}
<div class="toc-item">
{% include toc_item %}
</div>
{% endfor %}
{% endif %}

0 comments on commit 9ca3560

Please sign in to comment.