summaryrefslogtreecommitdiffstats
path: root/theme/templates/page.html
blob: ef61d8f10bdfab77ad903597e6d19e6d32469bf7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{% extends "layout.html" %}

{% block title %}{{ title }}{% endblock %}

{% block content %}
    {% for page in pages %}
    <article id="{{ page.path }}" style="page-break-after: always;">
    {% for section in page.content %}
        {% if section.type == "normal" %}
            {% autoescape false %}{{ section.content }}{% endautoescape %}
        {% endif %}
    {% endfor %}
    </article>
    {% endfor %}
{% endblock %}

{% block javascript %}{% endblock %}