2022-02-06 00:27:02 +01:00
|
|
|
{% extends "frame.twig" %}
|
2021-04-21 04:20:42 +02:00
|
|
|
|
|
|
|
{% block title %}
|
|
|
|
{{ title }}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block mainContent %}
|
|
|
|
<section>
|
|
|
|
<div class="page-title">
|
|
|
|
<span>{{title}}</span>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
<article>
|
|
|
|
<div class="page">
|
|
|
|
{% for item in archives %}
|
|
|
|
<div class="archive-item">
|
|
|
|
<span class="year">
|
|
|
|
{{item.year}}
|
|
|
|
</span>
|
|
|
|
{% for data in item.year_data %}
|
|
|
|
<div class="archive-month">
|
|
|
|
<span class="month">
|
|
|
|
{{data.full_month}}
|
|
|
|
</span>
|
|
|
|
{% for page in data.pages %}
|
2022-02-06 00:42:16 +01:00
|
|
|
{% 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 %}
|
2021-04-21 04:20:42 +02:00
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</article>
|
|
|
|
{% endblock %}
|