summaryrefslogtreecommitdiffstats
path: root/templates_html/section_posts.html
diff options
context:
space:
mode:
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>