Add option to disable TOC
Set `notoc` in [extra].
This commit is contained in:
parent
47d5caa51c
commit
f0dd3d9a9d
@ -35,7 +35,7 @@
|
||||
{% endmacro %}
|
||||
|
||||
{% macro toc() %}
|
||||
{% if page.toc %}
|
||||
{% if page.toc and not page.extra.notoc %}
|
||||
<ul>
|
||||
{% for h1 in page.toc %}
|
||||
<li>
|
||||
|
Loading…
Reference in New Issue
Block a user