emile/templates/page.html
penwing-bathhouse af0d15d7af initial commit
2024-09-25 00:26:20 +02:00

18 lines
340 B
HTML

{% extends "base.html" %}
{% block content %}
<h1 class="title">
{% if page is defined %}
{{ page.title }}
{% elif section is defined %}
{{ section.title }}
{% endif %}
</h1>
{% if page is defined %}
{{ page.content | safe }}
{% elif section is defined %}
{{ section.content | safe }}
{% endif %}
{% endblock content %}