{% extends "index.html" %} {#----- the following is a quasi duplicate of page.html since section and page are very similar in zola https://zola.discourse.group/t/section-vs-page/522 -----#} {% block title %}Duniter | {{section.title}}{% endblock title %} {% block description %}{% endblock description %} {% block keywords %}{% if section.taxonomies.tags %}{% endif %}{% endblock keywords %} {% block extrahead %}{% if section.extra.katex %}{{ macros::katex() }}{% endif %}{% endblock extrahead %} {% block content -%}
{# sections do not have taxonomies #} {#{ macros::taxonomies(taxonomies=section.taxonomies) }#} {% if section.extra.auto_toc %}{{ macros::toc(toc=section.toc, level=1, depth=section.extra.toc_depth | default(value=6)) }}{% endif %} {{ macros::replace_toc(resource=section) | safe }}
{%- endblock content %}