add series

This commit is contained in:
Tykayn 2025-05-13 11:29:20 +02:00 committed by tykayn
parent 630ff2da42
commit 3fea367e9a
11 changed files with 185 additions and 123 deletions

View file

@ -65,6 +65,20 @@
</div>
</article>
{% if template_content['SERIE'] %}
<div class="article-serie">
<h2>Série d'articles: {{ template_content['SERIE']['title'] }}</h2>
<ul>
{% for a in template_content['SERIE']['articles'] %}
{% if a is not article.slug %}
<li><a href="{{ a }}">{{ articles_info[a]['title'] }}</a></li>
{% else %}
<li class="article-serie-current">{{ article.title }}</li>
{% endif %}
{% endfor %}
</ul>
</div>
{% endif %}
<hr />
<div class="article-navigation">
{% if article.previous %}