diff options
Diffstat (limited to 'gstudio/templates/gstudio/nodetype_archive_year.html')
-rw-r--r-- | gstudio/templates/gstudio/nodetype_archive_year.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gstudio/templates/gstudio/nodetype_archive_year.html b/gstudio/templates/gstudio/nodetype_archive_year.html new file mode 100644 index 0000000..62e3cf9 --- /dev/null +++ b/gstudio/templates/gstudio/nodetype_archive_year.html @@ -0,0 +1,21 @@ +{% extends "gstudio/nodetype_list.html" %} +{% load i18n %} + +{% block meta-description %}{% trans "Archives" %} {{ year }}{% endblock %} + +{% block title %}{% trans "Archives" %} {{ year }}{% endblock %} + +{% block content %} +<h1>{% trans "Archives" %} {{ year }}</h1> + +{{ block.super }} + +<h2>{% trans "Monthly archives" %}</h2> +<ul> + {% for date in date_list %} + <li> + <a href="{% url gstudio_nodetype_archive_month year date|date:"m" %}" rel="archives">{{ date|date:"YEAR_MONTH_FORMAT" }}</a> + </li> + {% endfor %} +</ul> +{% endblock %} |