diff options
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 %} |
