summaryrefslogtreecommitdiffstats
path: root/templates_html/section_posts.html
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2026-08-03 13:22:07 +0300
committerJan Tuomi <jan@jantuomi.fi>2026-08-03 13:22:07 +0300
commit23821211e03cd69cf87b2f264b48e0125fcac29d (patch)
tree42bd1a9fd7a8922a5351aed16309331d431acf7a /templates_html/section_posts.html
parent72a42e0449a0cbbbc455b36af9f53fc293c73fdf (diff)
Add gemini protocol
Diffstat (limited to 'templates_html/section_posts.html')
-rw-r--r--templates_html/section_posts.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/templates_html/section_posts.html b/templates_html/section_posts.html
new file mode 100644
index 0000000..f44321f
--- /dev/null
+++ b/templates_html/section_posts.html
@@ -0,0 +1,19 @@
+{% extends "base.html" %}
+{% block content %}
+{% set posts = get_section(path="posts/_index.md") %}
+
+<h1>{{ section.title }}</h1>
+<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>