diff options
| author | Jan Tuomi <jan@jantuomi.fi> | 2026-01-01 17:36:39 +0200 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2026-01-02 16:21:05 +0200 |
| commit | c1856d1f3edbc4b32be5860233dede88db16a7bb (patch) | |
| tree | b3a5e2f600c0079bd04d7ab2bb459b4664ba66a1 /templates/section.html | |
| parent | 6d7e34af89ef1038d213ff8ea325bb84d4a00d4a (diff) | |
Start migrating content
Diffstat (limited to 'templates/section.html')
| -rw-r--r-- | templates/section.html | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/templates/section.html b/templates/section.html index c9ed8b1..b72f536 100644 --- a/templates/section.html +++ b/templates/section.html @@ -1,8 +1,18 @@ -{% extends "base.html" %} {% block content %} +{% extends "base.html" %} {% block content %} {% set posts = +get_section(path="posts/_index.md") %} <h1>{{ section.title }}</h1> -{% for page in section.pages %} -<ul> - <li><a href="{{ page.path }}">{{ page.title }}</a></li> +<p> + Follow via <a href="/atom.xml">Atom/RSS</a> (<a + href="https://aboutfeeds.com/" + >Huh?</a + >) +</p> +<ul class="archive-list"> + {% for page in posts.pages %} + <li class="archive-entry"> + <a href="{{ page.path }}">{{ page.title }}</a> + <small>({{ page.date | date(format="%Y-%m-%d") }})</small> + </li> + {% endfor %} {% endblock %} </ul> -{% endfor %} {% endblock %} |
