summaryrefslogtreecommitdiffstats
path: root/templates_gmi/now.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_gmi/now.html
parent72a42e0449a0cbbbc455b36af9f53fc293c73fdf (diff)
Add gemini protocol
Diffstat (limited to 'templates_gmi/now.html')
-rw-r--r--templates_gmi/now.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/templates_gmi/now.html b/templates_gmi/now.html
new file mode 100644
index 0000000..3062054
--- /dev/null
+++ b/templates_gmi/now.html
@@ -0,0 +1,10 @@
+{% extends "base.html" %}
+{% import "macros.html" as macros %}
+{% block content %}
+{% set posts = get_section(path="posts/_index.md") %}
+{% set nows = posts.pages | filter(attribute="extra.kind", value="now") %}
+{% set latest_now = nows | sort(attribute="date") | last %}
+
+{{ macros::page_content(page=latest_now) }}
+
+{% endblock %}