diff options
Diffstat (limited to 'themes/xmin/templates/section.html')
-rw-r--r-- | themes/xmin/templates/section.html | 18 |
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 @@ | |||
1 | {% extends "base.html" %} | ||
2 | |||
3 | {% block main %} | ||
4 | <main> | ||
5 | <h1>{{ section.title }}</h1> | ||
6 | {{ section.content }} | ||
7 | <section> | ||
8 | <ul> | ||
9 | {% for page in section.pages %} | ||
10 | <li class="h-entry"> | ||
11 | <time class="dt-published" datetime="{{ page.date | date(format="%+") }}">{{ page.date | date(format="%F") }}</time> | ||
12 | <a class="u-url p-name" href="{{ page.path | safe }}">{{ page.title }}</a> | ||
13 | </li> | ||
14 | {% endfor %} | ||
15 | </ul> | ||
16 | </section> | ||
17 | </main> | ||
18 | {% endblock %} | ||