diff options
| author | Alexander Kassouni <alex@kassouni.net> | 2026-09-28 21:35:50 -0700 |
|---|---|---|
| committer | Alexander Kassouni <alex@kassouni.net> | 2026-09-28 21:35:50 -0700 |
| commit | a570da443586fa3b3490b5add88ea5932456a5b3 (patch) | |
| tree | 41d45d56ef31b7e632578a7e384e7cb4bf25911f /site/templates/section.html | |
| parent | 151d2de0894d726de80d8702aea3335b9389de6f (diff) | |
site
Diffstat (limited to 'site/templates/section.html')
| -rw-r--r-- | site/templates/section.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/site/templates/section.html b/site/templates/section.html new file mode 100644 index 0000000..22594c4 --- /dev/null +++ b/site/templates/section.html @@ -0,0 +1,16 @@ +{% extends "base.html" %} + +{% block title %}{{ section.title | default(value="blog") }} ยท kassouni.net{% endblock title %} + +{% block content %} +{{ section.content | safe }} + +<ul class="post-list"> + {% for post in section.pages %} + <li> + <a href="{{ post.permalink | safe }}">{{ post.title }}</a> + {% if post.date %}<time datetime="{{ post.date }}">{{ post.date | date(format="%Y-%m-%d") }}</time>{% endif %} + </li> + {% endfor %} +</ul> +{% endblock content %} |