summaryrefslogtreecommitdiffstats
path: root/templates_html/now.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates_html/now.html')
-rw-r--r--templates_html/now.html11
1 files changed, 11 insertions, 0 deletions
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 %}