summaryrefslogtreecommitdiffstats
path: root/templates/now.html
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2026-01-02 15:16:23 +0200
committerJan Tuomi <jan@jantuomi.fi>2026-01-02 16:21:05 +0200
commit5a05ca47edca3a5cf8fad2e19a533faaa1c7b362 (patch)
treee828d52402354f518c12649589544dcf04a7f72e /templates/now.html
parent0e0701cb3baf603e1773194031ab37ec779dd8ff (diff)
Implement now page
Diffstat (limited to 'templates/now.html')
-rw-r--r--templates/now.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/now.html b/templates/now.html
new file mode 100644
index 0000000..9eaa6a6
--- /dev/null
+++ b/templates/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 %}