about summary refs log tree commit diff stats
path: root/themes/xmin/templates/section.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/xmin/templates/section.html')
-rw-r--r--themes/xmin/templates/section.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/themes/xmin/templates/section.html b/themes/xmin/templates/section.html
new file mode 100644
index 0000000..e61566f
--- /dev/null
+++ b/themes/xmin/templates/section.html
@@ -0,0 +1,18 @@
+{% extends "base.html" %}
+
+{% block main %}
+<main>
+  <h1>{{ section.title }}</h1>
+  {{ section.content }}
+  <section>
+    <ul>
+      {% for page in section.pages %}
+        <li class="h-entry">
+          <time class="dt-published" datetime="{{ page.date | date(format="%+") }}">{{ page.date | date(format="%F") }}</time>
+          <a class="u-url p-name" href="{{ page.path | safe }}">{{ page.title }}</a>
+        </li>
+      {% endfor %}
+    </ul>
+  </section>
+</main>
+{% endblock %}