summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2016-11-15 14:29:49 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2016-11-15 14:29:49 +0100
commit8f5034eca90df98e60685cd2fcae5eb29de3d555 (patch)
tree924e7865893eede50dde313beafdd75a03451b8d /templates
parent554a94f8fd5815b165847af586f9c99ad7981485 (diff)
downloadkyblo-8f5034eca90df98e60685cd2fcae5eb29de3d555.tar.xz
Add title to archive
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/archive.html13
-rw-r--r--templates/layout.html1
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;