diff options
| author | Jan Tuomi <jan@jantuomi.fi> | 2026-08-03 16:33:15 +0300 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2026-08-03 16:33:15 +0300 |
| commit | baf86c86dd5d622fd0c78f0c16413f53b513db47 (patch) | |
| tree | eae65c92499a7545a2df07888ce5b22b33e0457c /templates_gmi/macros.html | |
| parent | c815a9077216666f703bddb9252c750e6d1bcd91 (diff) | |
Improve gemini site
Diffstat (limited to 'templates_gmi/macros.html')
| -rw-r--r-- | templates_gmi/macros.html | 7 |
1 files changed, 4 insertions, 3 deletions
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") %} <!-- END_GEMINI_CONTENT --> -{% 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 %} <!-- START_GEMINI_CONTENT --> {% 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) %} |
