aboutsummaryrefslogtreecommitdiff
path: root/content/templates/list.html
diff options
context:
space:
mode:
Diffstat (limited to 'content/templates/list.html')
-rw-r--r--content/templates/list.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/content/templates/list.html b/content/templates/list.html
new file mode 100644
index 0000000..6ff9968
--- /dev/null
+++ b/content/templates/list.html
@@ -0,0 +1,13 @@
+{# A listing page: the blog index, the garden index, and each tag page.
+ Uses the .post-list / .post-list-item classes styles.css already defines. #}
+{% extends "base.html" %}
+{% block content %}
+<ul class="post-list">
+{%- for entry in pages %}
+<li class="post-list-item">
+{%- if entry.date_iso %}<time datetime="{{ entry.date_iso }}">{{ entry.date_iso }}</time>{% endif %}
+<a href="{{ root }}{{ entry.url }}">{{ entry.title }}</a>
+</li>
+{%- endfor %}
+</ul>
+{% endblock %}