diff options
Diffstat (limited to 'Peli-Kiera/templates/period_archives.html')
-rw-r--r-- | Peli-Kiera/templates/period_archives.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Peli-Kiera/templates/period_archives.html b/Peli-Kiera/templates/period_archives.html new file mode 100644 index 0000000..8a6b425 --- /dev/null +++ b/Peli-Kiera/templates/period_archives.html @@ -0,0 +1,18 @@ +{% extends "base.html" %} + +{% block title %}{{ SITENAME }} - {{ period | reverse | join(' ') }} Archives{% endblock %} + +{% block content %} + <main> + <section id="list"> + <h2>Archives for {{ period | reverse | join(' ') }}</h2> + <ul> + {% for article in dates %} + <li><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a> + <time>{{ article.date|strftime('%b %Y') }}</time> + </li> + {% endfor %} + </ul> + </section> + </main> +{% endblock %}
\ No newline at end of file |