21 lines
691 B
HTML
21 lines
691 B
HTML
{% extends "content/article_archive.html" %}
|
|
{% load i18n %}
|
|
|
|
{% block meta_title %}{{ article.headline }}{% endblock %}
|
|
|
|
{% block date_list %}
|
|
<h2>{% trans "Archive" %} {{year}}</h2>
|
|
|
|
<ul class="list" style="margin: 20px;">
|
|
{% if active_category %}
|
|
{% for date in date_list %}
|
|
<li class="date"><a href="{% url "article-archive" category=active_category.slug year=year|date:'Y' month=date|date:'m' %}">{{active_category.name}}: {{ date|date:'F' }}</a></li>
|
|
{% endfor %}
|
|
{% else %}
|
|
{% for date in date_list %}
|
|
<li class="date"><a href="{% url "article-archive" year=year|date:'Y' month=date|date:'m' %}">{{ date|date:'F' }}</a></li>
|
|
{% endfor %}
|
|
{% endif %}
|
|
</ul>
|
|
{% endblock %}
|