1
0
less-mnmlist/templates/period_archives.html

34 lines
1.1 KiB
HTML

{% extends "archives.html" %}
{% block content %}
<section id="content" class="body archive">
<header>
{% block header_nav %}{% endblock %}
<h1>Archives for {% for part in period | reverse %}
<a href = "{{ (loop.index - 1) * "../" }}">{{ part }}</a>
{% endfor %}</h1>
</header>
<dl>
{% for article in dates %}
<dt>{{ article.locale_date }}</dt>
<dd>
<a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>:
<a href='{{ SITEURL }}/{{ article.url }}'>{{ article.title }}</a>
{% if article.comments_count > 0 %}
<span class="comments_count">
[<a href='{{ SITEURL }}/{{ article.url }}#comments'>{{ article.comments_count }} comment{% if article.comments_count > 1 %}s{% endif %}</a>]
</span>
{% endif %}
{% if article.tags|length > 0 %}
<div class="tags">
{% for tag in article.tags|sort %}
<a href="{{ SITEURL }}/{{ tag.url }}" class="tag">{{ tag }}</a>
{% endfor %}
</div>
{% endif %}
</dd>
{% endfor %}
</dl>
</section>
{% endblock %}