From dfde1ae901958bd61219a180903561b4a7c2e2ad Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Mon, 3 Aug 2026 15:02:33 +0300 Subject: Improve gemini generation --- templates_gmi/now.html | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'templates_gmi/now.html') 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 %} -- cgit v1.3