{# Demonstrates: a normal page, with table of contents, tags, translations, backlinks and related pages. #} {% extends "base.html" %} {% from "macros.html" import toc %} {% block main %}

{{ page.title }}

{% if page.published %}

{%- if page.updated %}, updated {% endif %}

{% endif %} {% if page.translations %}

Also in: {% for t in page.translations %} {{ t.title }}{% if not loop.last %},{% endif %} {% endfor %}

{% endif %} {{ toc(page.toc) }} {{ page.content }} {% if page.tags %}

Tags: {% for t in page.tags %} {{ t }}{% if not loop.last %},{% endif %} {% endfor %}

{% endif %} {% set related = page.related(n=3) %} {% if related %} {% endif %} {% if page.backlinks %} {% endif %}
{% endblock %}