diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/archive.html | 13 | ||||
-rw-r--r-- | templates/layout.html | 1 |
2 files changed, 9 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 %} diff --git a/templates/layout.html b/templates/layout.html index 3de91d5..ee2a090 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -40,6 +40,7 @@ article p { } ul#archive-list { list-style-type: none; + padding-left: 0; } footer { height: 55px; |