diff options
Diffstat (limited to 'Peli-Kiera/templates/archives.html')
-rw-r--r-- | Peli-Kiera/templates/archives.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Peli-Kiera/templates/archives.html b/Peli-Kiera/templates/archives.html new file mode 100644 index 0000000..a7374d7 --- /dev/null +++ b/Peli-Kiera/templates/archives.html @@ -0,0 +1,18 @@ +{% extends "base.html" %} + +{% block title %}{{ SITENAME }} - Archives{% endblock %} + +{% block content %} + <main> + <section id="list"> + <h2>Archives for {{ SITENAME }}</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 |