From 23821211e03cd69cf87b2f264b48e0125fcac29d Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Mon, 3 Aug 2026 13:22:07 +0300 Subject: Add gemini protocol --- templates_html/now.html | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 templates_html/now.html (limited to 'templates_html/now.html') diff --git a/templates_html/now.html b/templates_html/now.html new file mode 100644 index 0000000..f05b6aa --- /dev/null +++ b/templates_html/now.html @@ -0,0 +1,11 @@ +{% 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 %} -- cgit v1.3