{% extends "base.html" %} {% import "macros.html" as macros %} {% block content %} {% for page in section.pages | reverse %}

{{ page.title }}

{% if page.date %} {{ page.date | date(format="%Y-%m-%d") }}{% if page.extra.author %}, by {{ page.extra.author }}{% endif %} {% endif %} {% if page.summary %} {% if config.extra.summary_max_length %} {% set sum = page.summary | safe | truncate(length=config.extra.summary_max_length) %} {% else %} {% set sum = page.summary | safe %} {% endif %}

{{ sum | safe }}

{% endif %} {% if not loop.last %}
{% endif %} {% endfor %} {% endblock %} {% block footer %} {{ now() | date(format='%Y') }} {% if section.extra.author %} {{ section.extra.author }} {% elif config.extra.author %} {{ config.extra.author }} {% endif %} {% endblock %} {% block aside %} {% if section.title %}

{{ section.title }}

{% endif %} {% if section.content %} {{ section.content | safe }} {% endif %} {% if section.subsections %} {{ config.extra.subsections_string | default(value="Subsections:") }} {{ macros::subsection_tree(subs=section.subsections) }} {% endif %} {% if config.extra.xscratch_debug_info %} Debug info: {{ macros::debug(thing=section, label="section", recurse=1) }} {% endif %} {% endblock %}