mirror of
https://gitlab.com/free_zed/free_zed.gitlab.io.git
synced 2024-07-01 17:23:02 +00:00
Freezed
9b41a7b681
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
28 lines
723 B
HTML
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') }} » <a href="{{ SITEURL }}/{{ article.url }}" title="{{ article.summary }}">{{ article.title }}</a> - [ {% include 'taglist_short.html' %}]
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</section>
|
|
{% endblock %}
|