diff options
Diffstat (limited to 'theme/templates/archives.html')
-rwxr-xr-x | theme/templates/archives.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/theme/templates/archives.html b/theme/templates/archives.html new file mode 100755 index 0000000..f3c2990 --- /dev/null +++ b/theme/templates/archives.html @@ -0,0 +1,17 @@ +{% extends "base.html" %} + +{%block title %}{{ SITENAME }} - Archives{%endblock%} + +{% block content %} + <h2 class="page_title">Archives</h2> + <table id="archives"> + <tbody> + {% for article in dates %} + <tr> + <td>{{ article.date.date() }}</td> + <td><a href='{{ article.url }}'>{{ article.title }}</a></td> + </tr> + {% endfor %} + </tbody> + </table> +{% endblock %} |