diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2016-11-15 14:29:49 +0100 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2016-11-15 14:29:49 +0100 |
commit | 8f5034eca90df98e60685cd2fcae5eb29de3d555 (patch) | |
tree | 924e7865893eede50dde313beafdd75a03451b8d /templates/archive.html | |
parent | 554a94f8fd5815b165847af586f9c99ad7981485 (diff) | |
download | kyblo-8f5034eca90df98e60685cd2fcae5eb29de3d555.tar.xz |
Add title to archive
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'templates/archive.html')
-rw-r--r-- | templates/archive.html | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/templates/archive.html b/templates/archive.html index 506e899..cee6745 100644 --- a/templates/archive.html +++ b/templates/archive.html @@ -1,9 +1,12 @@ {% extends 'layout.html' %} {% block content %} -<ul id="archive-list"> -{% for entry in entries %} -<li>{{ entry['date'] }} — <a href="{{ entry['file'] }}.html">{{ entry['title'] }}</a></li> -{% endfor %} -</ul> +<section> + <h1>{{ title }}</h1> + <ul id="archive-list"> + {% for entry in entries %} + <li>{{ entry['date'] }} — <a href="{{ entry['file'] }}.html">{{ entry['title'] }}</a></li> + {% endfor %} + </ul> +</section> {% endblock %} |