1
0

Add option to disable TOC

Set `notoc` in [extra].
This commit is contained in:
Emil Miler 2022-09-22 12:09:41 +02:00
parent 47d5caa51c
commit f0dd3d9a9d

View File

@ -35,7 +35,7 @@
{% endmacro %} {% endmacro %}
{% macro toc() %} {% macro toc() %}
{% if page.toc %} {% if page.toc and not page.extra.notoc %}
<ul> <ul>
{% for h1 in page.toc %} {% for h1 in page.toc %}
<li> <li>