{% extends "index.html" %} {% block header %} {{ macros_header::header(config=config, lang=lang, section=section) }} {% endblock header %} {% block content %}

{{ section.title }}

{{ section.description }}

{{ section.content | safe }} {% if section.pages %}
{% for page in section.pages %}

{{ page.title }}

{% endfor %}
{% endif %} {% endblock content %} {% block prev_link %} {% set index = get_section(path="_index.md") %} {% set found_current = false %} {% for s in index.subsections | reverse %} {% set subsection = get_section(path=s) %} {% if subsection.permalink == section.permalink %} {% set_global found_current = true %} {% else %} {% if found_current %} {% if subsection.pages %} {% set last_page = subsection.pages | last %} ‹ {{ last_page.title }} {% else %} ‹ {{ subsection.title }} {% endif %} {% set_global found_current = false %} {% endif %} {% endif %} {% endfor %} {% endblock prev_link %} {% block next_link %} {% if section.pages %} {% set next_page = section.pages | first %} {{ next_page.title }} › {% else %} {% set index = get_section(path="_index.md") %} {% set found_current = false %} {% for s in index.subsections %} {% set subsection = get_section(path=s) %} {% if found_current %} {{ subsection.title }} › {% set_global found_current = false %} {% endif %} {% if subsection.permalink == section.permalink %} {% set_global found_current = true %} {% endif %} {% endfor %} {% endif %} {% endblock next_link %}