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

{{ page.title }}

{{ page.description }}

{{ page.content | safe }} {% endblock content %} {% block prev_link %} {% if page.smaller %} ‹ {{ page.smaller.title }} {% else %} {% set parent = get_section(path=page.ancestors | reverse | first) %} ‹ {{ parent.title }} {% endif %} {% endblock prev_link %} {% block next_link %} {% if page.higher %} {{ page.higher.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 %} {% for p in subsection.pages %} {% if p.permalink == page.permalink %} {% set_global found_current = true %} {% endif %} {% endfor %} {% endfor %} {% endif %} {% endblock next_link %}