From baf86c86dd5d622fd0c78f0c16413f53b513db47 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Mon, 3 Aug 2026 16:33:15 +0300 Subject: Improve gemini site --- templates_gmi/macros.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'templates_gmi/macros.html') diff --git a/templates_gmi/macros.html b/templates_gmi/macros.html index 2f95358..4609613 100644 --- a/templates_gmi/macros.html +++ b/templates_gmi/macros.html @@ -3,8 +3,8 @@ {% macro linklog(page) %} {% set lh_data = load_data(path="linklog.json") %} -{% for lh_post in lh_data.posts %} -=> {{ lh_post.href }} {{ lh_post.description }} ({{ lh_post.time | date(format='%Y-%m-%d') }}) +{% for lh_post in lh_data.posts -%} +=> {{ lh_post.href }} {{ lh_post.time | date(format='%Y-%m-%d') }} {{ lh_post.description }} {% endfor %} {% endmacro %} @@ -12,7 +12,8 @@ {% macro page_h1(page) %} # {{ page.title }} -{% if page.date %}({{ page.date }}){% endif %}{% if page.extra.kind %} [{{ page.extra.kind }}]{% endif %} +{% if page.date %}📅 {{ page.date }}{% endif %} +{% if page.extra.kind %}🏷️ {{ page.extra.kind }}{% endif %} {% endmacro %} {% macro page_content(page) %} -- cgit v1.3