2023-07-04 02:37:44 +02:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
2023-09-09 19:20:39 +02:00
|
|
|
{% block content %}
|
2023-07-04 02:37:44 +02:00
|
|
|
<h1>{{ section.title }}</h1>
|
|
|
|
|
|
|
|
{{ section.content | safe }}
|
|
|
|
|
|
|
|
{% if paginator %}
|
2023-12-26 01:11:47 +01:00
|
|
|
{% set pages = paginator.pages %}
|
2023-07-04 02:37:44 +02:00
|
|
|
{% else %}
|
2023-12-26 01:11:47 +01:00
|
|
|
{% set pages = section.pages %}
|
2023-07-04 02:37:44 +02:00
|
|
|
{% endif %}
|
2023-07-29 05:37:37 +02:00
|
|
|
|
|
|
|
<ul class="titleList">
|
2023-12-26 17:26:52 +01:00
|
|
|
{% if config.extra.date_format.list %}
|
|
|
|
{% set datefmt = config.extra.date_format.list %}
|
|
|
|
{% else %}
|
2023-12-26 17:35:13 +01:00
|
|
|
{% set datefmt = " @ %Y-%m-%dT%H:%M:%S%Z" %}
|
2023-12-26 17:26:52 +01:00
|
|
|
{% endif %}
|
2023-12-26 01:11:47 +01:00
|
|
|
{% for page in pages %}
|
2023-12-26 17:35:13 +01:00
|
|
|
<li><a href="{{ page.permalink | safe }}">{{ page.title }}<span class="contentDate">{{ page.date | date(format=datefmt) }}</span></a></li>
|
2023-12-26 01:11:47 +01:00
|
|
|
{% endfor %}
|
2023-07-04 02:37:44 +02:00
|
|
|
</ul>
|
2023-07-29 05:37:37 +02:00
|
|
|
|
2023-07-04 02:37:44 +02:00
|
|
|
{% if paginator %}
|
2023-12-26 17:26:52 +01:00
|
|
|
<div class="metaData">{% if paginator.previous %}<a href="{{ paginator.first }}">⥶</a> <a href="{{ paginator.previous }}"></a>{% endif %} {{ paginator.current_index }} / {{ paginator.number_pagers }} {% if paginator.next %}<a href="{{ paginator.next }}"></a> <a href="{{ paginator.last }}"></a>{% endif %}</div>
|
2023-07-04 02:37:44 +02:00
|
|
|
{% endif %}
|
2023-12-23 01:31:43 +01:00
|
|
|
{% endblock content %}
|