summaryrefslogtreecommitdiffstats
path: root/templates_gmi/now.html
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2026-08-03 15:02:33 +0300
committerJan Tuomi <jan@jantuomi.fi>2026-08-03 15:02:33 +0300
commitdfde1ae901958bd61219a180903561b4a7c2e2ad (patch)
tree7036dae0ff0e87ff58ee565777472663ccf90fe2 /templates_gmi/now.html
parentb8110f45936b5c5e484684bcf3f9f5a3e4bba22f (diff)
Improve gemini generation
Diffstat (limited to 'templates_gmi/now.html')
-rw-r--r--templates_gmi/now.html7
1 files changed, 3 insertions, 4 deletions
diff --git a/templates_gmi/now.html b/templates_gmi/now.html
index 3062054..63e9441 100644
--- a/templates_gmi/now.html
+++ b/templates_gmi/now.html
@@ -1,10 +1,9 @@
{% 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 %}
-
+{% 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 %}