onders.org_zola_theme/templates/section.html

25 lines
645 B
HTML
Raw Normal View History

2023-02-06 12:20:18 +01:00
{% extends "base.html" %}
{% block title %}
{% if section.extra.start %}
{{ config.title }} | {{ section.extra.start }} - {{ section.extra.end }}: {{ section.title }}
{% else %}
{{ config.title }}
{% endif %}
{% endblock title %}
{% block subtitle %}
{% if section.extra.start %}
<h2>{{ section.extra.start }} - {{ section.extra.end }}: {{ section.title }}</h2>
{% endif %}
{% endblock subtitle %}
2023-02-06 12:20:18 +01:00
{% block content %}
{{ section.content | safe }}
<ul>
{% for page in section.pages | reverse %}
<li><a href="{{ page.permalink | safe }}">{{ page.date | safe }} - {{ page.title | safe }}</a></li>
{% endfor %}
</ul>
2023-02-06 12:20:18 +01:00
{% endblock content %}