{% extends "base.html" %} {% import "macros.html" as macros %} {% block title %} {{ page.title }} - {{ config.title }} {% endblock %} {% block page_meta %} {% if page.description %} {% endif %} {% if page.extra.author or config.extra.author %} {% endif %} {% endblock %} {% block content %}

{{ page.title }}

{{ page.content | safe }} {% endblock %} {% block aside %} {{ macros::parent_tree(ancestors=page.ancestors) }} {% if page.date -%} Published: {% if page.updated %}, Updated: {% endif %} {%- endif %} {% if page.extra.author %} By: {{ page.extra.author }} {% endif %} Read time: minutes {% if page.extra.external_reading %}
Table of Contents: {{ macros::toc(page=page) }}
External reading: {% endif %} {% if config.extra.xscratch_debug_info %} Debug info: {{ macros::debug(thing=page, label="page", recurse=2) }} {% endif %} {% endblock %} {% block footer %} {% if page.date %} {{ page.date | date(format='%Y') }} {% else %} {{ now() | date(format='%Y') }} {% endif %} {% if page.extra.author %} {{ page.extra.author }} {% elif config.extra.author %} {{ config.extra.author }} {% endif %} {% endblock %}