From 25945b8fead989cca09a23983623b63ce36dcc0c Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Mon, 8 Jan 2024 20:11:17 -0600 Subject: feat: total re-write from Emacs org-mode to Zola markdown --- templates/section.html | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 templates/section.html (limited to 'templates/section.html') diff --git a/templates/section.html b/templates/section.html new file mode 100644 index 0000000..70e8cb1 --- /dev/null +++ b/templates/section.html @@ -0,0 +1,18 @@ +{% extends "base.html" %} + +{% block content %} +

{{ section.title }}

+

Use Ctrl + f to search blog post titles for keywords. +
You can also add the Atom RSS Feed to your feed reader.

+{% set post_date = "1970-01-01" | date(format="%Y") %} +{% for page in section.pages %} + {% if post_date != page.date | date(format="%Y") %} + {% set_global post_date = page.date | date(format="%Y") %} +

{{ post_date }}

+ {% endif %} +
+ + {{ page.title }} +
+{% endfor %} +{% endblock content %} -- cgit v1.2.3-70-g09d2