Optional TOC sidebar (fixes #107)

This commit is contained in:
daudix
2024-12-01 16:55:08 +03:00
parent 73b2c24018
commit 915a71fecd
9 changed files with 83 additions and 0 deletions

View File

@ -3,6 +3,8 @@
{% block content %}
<h1>{{ section.title }}</h1>
{%- include "partials/statements.html" -%}
{%- if section.extra.toc and not section.extra.toc_sidebar -%}
{%- include "partials/toc.html" -%}
{%- endif -%}
{{ section.content | safe }}
{% endblock content %}