1
0
mirror of https://gitlab.com/free_zed/free_zed.gitlab.io.git synced 2024-06-17 14:12:31 +00:00
free_zed.gitlab.io/mytheme/templates/archives.html
Freezed 9b41a7b681 Edit tags management
Add a template with a config var to shorten taglist in article lists
Edit article_info template for better rendering of taglist
Edit article to re-order tags
2019-01-21 14:21:54 +01:00

28 lines
723 B
HTML

{% extends "base.html" %}
{% block content %}
<section id="content" class="body">
{% block content_title %}
<h2>Archives</h2>
<p>
{% for d in dates %}
{% if loop.changed(d.date|strftime('%Y')) %}
<a href="{{ LINKS[0][1] }}{{ d.date|strftime('%Y') }}" title="Archives de l'année {{ d.date|strftime('%Y') }}">{{ d.date|strftime('%Y') }}</a>
{% endif %}
{% endfor %}
</p>
{% endblock content_title %}
<hr \>
<ul>
{% for article in dates %}
<li>
{{ article.date|strftime('%Y %b') }} &raquo; <a href="{{ SITEURL }}/{{ article.url }}" title="{{ article.summary }}">{{ article.title }}</a> - [ {% include 'taglist_short.html' %}]
</li>
{% endfor %}
</ul>
</section>
{% endblock %}