2022-02-06 00:27:02 +01:00
|
|
|
{% extends "frame.twig" %}
|
2021-04-21 04:20:42 +02:00
|
|
|
|
|
|
|
{% block title %}
|
2022-10-21 22:35:12 +02:00
|
|
|
{{ title }}
|
2021-04-21 04:20:42 +02:00
|
|
|
{% endblock %}
|
|
|
|
|
2022-10-21 22:35:12 +02:00
|
|
|
{% block mainContent %}
|
|
|
|
<article>
|
2022-11-01 00:07:19 +01:00
|
|
|
<h1>{{ title }}</h1>
|
|
|
|
|
|
|
|
<div role="archives">
|
2022-10-21 22:35:12 +02:00
|
|
|
{% for item in archives %}
|
2022-11-01 00:07:19 +01:00
|
|
|
<div role="archive-item">
|
|
|
|
<h2>{{ item.year }}</h2>
|
2022-10-21 22:35:12 +02:00
|
|
|
{% for data in item.year_data %}
|
2022-11-01 00:07:19 +01:00
|
|
|
<div role="archive-month">
|
|
|
|
<h3>{{ data.full_month }}</h3>
|
2022-10-21 22:35:12 +02:00
|
|
|
{% for page in data.pages %}
|
|
|
|
{% if dynamicRender is defined %}
|
|
|
|
{% if dynamicRender == 'true' %}
|
|
|
|
<a href="{{ "/"~item.year~"/"~data.month~"/"~page.slug }}">{{ page.title }}</a><br/>
|
|
|
|
{% else %}
|
|
|
|
<a href="{{ "/"~item.year~"/"~data.month~"/"~page.slug~".html" }}">{{ page.title }}</a><br/>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% else %}
|
|
|
|
<a href="{{ "/"~item.year~"/"~data.month~"/"~page.slug~".html" }}">{{ page.title }}</a><br/>
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
</article>
|
|
|
|
{% endblock %}
|