2023-02-06 12:20:18 +01:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
2023-02-15 05:22:13 +01:00
|
|
|
{% block title %}
|
2024-04-20 00:02:14 +02:00
|
|
|
{% if page.ancestors %}
|
|
|
|
{% set ancestor = get_section(path=page.ancestors | last) %}
|
|
|
|
{% if ancestor.extra %}
|
|
|
|
{{ config.title }} | {{ page.date }} - {{ page.title }} ({{ ancestor.title }})
|
|
|
|
{% else %}
|
|
|
|
{{ config.title }} | {{ page.title }}
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
2023-02-15 05:22:13 +01:00
|
|
|
{% endblock title %}
|
|
|
|
|
2024-04-20 00:02:14 +02:00
|
|
|
{% block subtitle %}
|
|
|
|
{% if page.ancestors %}
|
|
|
|
{% set ancestor = get_section(path=page.ancestors | last) %}
|
|
|
|
{% if ancestor.extra %}
|
|
|
|
<h2>{{ ancestor.extra.start }} - {{ ancestor.extra.end }}: {{ ancestor.title }}</h2>
|
|
|
|
{% else %}
|
|
|
|
<h2>{{ page.title }}</h2>
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
{% endblock subtitle %}
|
|
|
|
|
2023-02-06 12:20:18 +01:00
|
|
|
{% block content %}
|
2024-04-20 00:02:14 +02:00
|
|
|
{% if page.date %}
|
|
|
|
<h3>{{ page.title }} ({{ page.date }})</h3>
|
|
|
|
{% endif %}
|
|
|
|
{{ page.content | safe }}
|
|
|
|
{% if page.date %}
|
|
|
|
{% include "comments.html" %}
|
|
|
|
{% endif %}
|
2023-02-06 12:20:18 +01:00
|
|
|
{% endblock content %}
|