{% extends "base.html" %} {% import "_macros.html" as toc_macros %} {% block title %}{{ section.title }}{% endblock title %} {% block header_logo %}

{{ config.title }} | {{ section.title }}

{% endblock header_logo %} {% block header_nav_extended %} {% if section.ancestors | length > 0 %} {% set parent = section.ancestors | last %} {% set parent_path = parent | as_str %} {% set parent_section = get_section(path=parent_path) %} Parent {% else%} Parent {% endif %} {% endblock header_nav_extended %} {% block content %} {% if section.description %}

{{ section.title }} | Description

{{ section.description }}

{% endif %} {% if section.toc %} {% endif %} {% set sorted_section_pages = section.pages | sort(attribute="title") %} {% set pages_without_dates = section.pages | filter(attribute="date", value="") %} {% set pages_with_dates = section.pages | filter(attribute="date") %} {% set sorted_pages_with_dates = pages_with_dates | sort(attribute="date") | reverse %} {% set sorted_section_subsections = section.subsections | sort() %} {% if section.pages or section.subsections %} {% endif %} {{ section.content | safe }} {% endblock content %}