summaryrefslogtreecommitdiffstats
path: root/templates_gmi
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2026-08-03 16:33:15 +0300
committerJan Tuomi <jan@jantuomi.fi>2026-08-03 16:33:15 +0300
commitbaf86c86dd5d622fd0c78f0c16413f53b513db47 (patch)
treeeae65c92499a7545a2df07888ce5b22b33e0457c /templates_gmi
parentc815a9077216666f703bddb9252c750e6d1bcd91 (diff)
Improve gemini site
Diffstat (limited to 'templates_gmi')
-rw-r--r--templates_gmi/index.html11
-rw-r--r--templates_gmi/macros.html7
-rw-r--r--templates_gmi/section_posts.html4
3 files changed, 11 insertions, 11 deletions
diff --git a/templates_gmi/index.html b/templates_gmi/index.html
index 7db112f..9b7037f 100644
--- a/templates_gmi/index.html
+++ b/templates_gmi/index.html
@@ -1,6 +1,5 @@
{% extends "base.html" %}
{% block content %}
-
Hi! My name is Jan. I am a senior software engineer based in Finland. Welcome to my personal blog and digital garden¹.
=> /files/Jan_Tuomi_headshot.jpg My portrait
@@ -9,12 +8,10 @@ I like keeping things simple and pragmatic. I'm a life-long learner, but I don't
I enjoy spending time with my fiancée and our dog, tinkering with computer hardware and software, games of all kinds but mostly video-, tabletop and role-playing, electronics, music, language learning and linguistics.
I created this site² as a creative outlet for expressing myself and sharing my experiences.
-{% set posts = get_section(path="posts/_index.md") %}
-
## Latest posts
-
-{% for page in posts.pages | slice(end=3) %}
-=> {{ page.path }} {{ page.title }} ({{ page.date | date(format="%Y-%m-%d") }})
+{% set posts = get_section(path="posts/_index.md") %}
+{% for page in posts.pages | slice(end=3) -%}
+=> {{ page.path }} {{ page.date | date(format="%Y-%m-%d") }} {{ page.title }}
{% endfor %}
The posts page is a listing of my posts. I post sporadically about various subjects and with varying levels of effort.
@@ -39,6 +36,8 @@ Email (jan *at* jantuomi *dot* fi)
=> https://fediring.net/previous?host=jan.systems Fediring (← previous)
=> https://fediring.net/next?host=jan.systems Fediring (→ next)
+## Footnotes
+
[1] The phrase "digital garden" is a metaphor for thinking about writing and creating that focuses less on the resulting "showpiece" and more on the process, care, and craft it takes to get there. — Joel Hooks
=> https://joelhooks.com/digital-garden/ Joel Hooks
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) %}
diff --git a/templates_gmi/section_posts.html b/templates_gmi/section_posts.html
index af86c23..748c73c 100644
--- a/templates_gmi/section_posts.html
+++ b/templates_gmi/section_posts.html
@@ -6,6 +6,6 @@
=> /atom.xml Follow via Atom/RSS
=> https://aboutfeeds.com/ Huh?
-{% for page in posts.pages %}
-=> {{ page.path }} {{ page.title }} ({{ page.date | date(format="%Y-%m-%d") }})
+{% for page in posts.pages -%}
+=> {{ page.path }} {{ page.date | date(format="%Y-%m-%d") }} {{ page.title }}
{% endfor %} {% endblock %}