{% extends "base.html" %} {%- import "macros/icons.html" as icons -%} {%- import "macros/docs.html" as docs -%} {% block title %}{{ section.title }} · {{ config.title }}{% endblock title %} {% block description %}{{ section.description | default(value=config.description) }}{% endblock description %} {% block body_class %}layout-docs{% endblock body_class %} {% block menu_button %} {% endblock menu_button %} {% block body %}
{{ section.content | safe }}
{#- A group lists its pages; the top of the documentation lists the groups. #} {%- if section.pages | length > 0 %} {%- else %} {%- for sub_path in section.subsections %} {%- set sub = get_section(path=sub_path) %}

{{ sub.extra.number }}{{ sub.title }}

{%- if sub.description %}

{{ sub.description }}

{% endif %}
{%- endfor %} {%- endif %}
{% endblock body %}