From 23821211e03cd69cf87b2f264b48e0125fcac29d Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Mon, 3 Aug 2026 13:22:07 +0300 Subject: Add gemini protocol --- templates/atom.xml | 68 --------------- templates/base.html | 171 -------------------------------------- templates/index.html | 64 -------------- templates/macros.html | 45 ---------- templates/now.html | 11 --- templates/page.html | 37 --------- templates/page_linklog.html | 6 -- templates/section_posts.html | 19 ----- templates/section_projects.html | 5 -- templates/shortcodes/fig.html | 4 - templates/shortcodes/linklog.html | 1 - templates/shortcodes/toc.html | 1 - 12 files changed, 432 deletions(-) delete mode 100644 templates/atom.xml delete mode 100644 templates/base.html delete mode 100644 templates/index.html delete mode 100644 templates/macros.html delete mode 100644 templates/now.html delete mode 100644 templates/page.html delete mode 100644 templates/page_linklog.html delete mode 100644 templates/section_posts.html delete mode 100644 templates/section_projects.html delete mode 100644 templates/shortcodes/fig.html delete mode 100644 templates/shortcodes/linklog.html delete mode 100644 templates/shortcodes/toc.html (limited to 'templates') diff --git a/templates/atom.xml b/templates/atom.xml deleted file mode 100644 index b1721ce..0000000 --- a/templates/atom.xml +++ /dev/null @@ -1,68 +0,0 @@ - - - {{ config.title }} - {%- if term %} - {{ term.name }} - {%- elif section.title %} - {{ section.title }} - {%- endif -%} - - {%- if config.description %} - {{ config.description }} - {%- endif %} - - - Zola - {% if last_updated is defined %}{{ last_updated | date(format="%+") }}{% endif %} - {{ feed_url | safe }} - {%- for page in pages %} - - {{ page.title }} - {{ page.date | date(format="%+") }} - {{ page.updated | default(value=page.date) | date(format="%+") }} - {% for author in page.authors %} - - - {{ author }} - - - {% else %} - - - {%- if config.author -%} - {{ config.author }} - {%- else -%} - Unknown - {%- endif -%} - - - {% endfor %} - - {{ page.permalink | safe }} - {% if page.summary %} - {{ page.summary }} - {% else %} - - {{ page.content }} - - {% endif %} - - {%- endfor %} - diff --git a/templates/base.html b/templates/base.html deleted file mode 100644 index 82f185e..0000000 --- a/templates/base.html +++ /dev/null @@ -1,171 +0,0 @@ - - - - - - - - - - {% if page.date %} - - {% endif %} - - {% if page.extra.keywords %} - - {% endif %} - - {% block title %} - {% if page.title %} - {{ page.title }} β€” {{ config.title }} - {% elif section.title %} - {{ section.title }} β€” {{ config.title }} - {% else %} - {{ config.title }} - {% endif %} - {% endblock %} - - {% block description %} - {% if page.description %} - - {% elif page.summary %} - - {% else %} - - {% endif %} - {% endblock %} - - - - - - - - - -
- Jan Tuomi -
-
- - -
{% block content %}{% endblock %}
- - - - - - diff --git a/templates/index.html b/templates/index.html deleted file mode 100644 index 31d0a90..0000000 --- a/templates/index.html +++ /dev/null @@ -1,64 +0,0 @@ -{% 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ΒΉ. -

-

I like keeping things simple and pragmatic. I'm a life-long learner, but I don't go chasing trends.

-

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

-
- -

The posts page is a listing of my posts. I post sporadically about various subjects and with varying levels of effort.

-

The linklog page contains a curated aggregation of bookmarks, saved blog posts and essays, books, series, papers or anything else that I feel like sharing or recommending, stored in Linkhut.

-

On the now page I write what's currently going on in my life. Stuff that some would write onto their social media page.

-

The projects page contains info about my hobby projects.

- -
-
-

Contact

- -
-
-

Webrings

-← -An IndieWeb Webring πŸ’ -β†’ -
-← -Fediring -β†’ - -
-
- -
- -

-[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 -

- -

-[2] This site is written using the Zola static site generator. At first, the site was automatically deployed after every Markdown edit, but nowadays I use a more traditional manual deploy mechanism. -

- - -{% endblock %} diff --git a/templates/macros.html b/templates/macros.html deleted file mode 100644 index 3922659..0000000 --- a/templates/macros.html +++ /dev/null @@ -1,45 +0,0 @@ -{% macro toc(page) %} - -{% endmacro %} - -{% macro linklog(page) %} -{% set lh_data = load_data(path="linklog.json") %} - -{% endmacro %} - -{% macro page_h1(page) %} -

- {{ page.title }}
- {% if page.date %} - ({{ page.date }}) - {% endif %} - {% if page.extra.kind %} - [{{ page.extra.kind }}] - {% endif %} -

-{% endmacro %} - -{% macro page_content(page) %} -{{ self::page_h1(page=page) }} -{{ page.content | replace(from="", to=macros::toc(page=page)) | safe }} -{% endmacro %} diff --git a/templates/now.html b/templates/now.html deleted file mode 100644 index f05b6aa..0000000 --- a/templates/now.html +++ /dev/null @@ -1,11 +0,0 @@ -{% 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 %} - -{{ macros::page_content(page=latest_now) }} - -{% endblock %} diff --git a/templates/page.html b/templates/page.html deleted file mode 100644 index 61db175..0000000 --- a/templates/page.html +++ /dev/null @@ -1,37 +0,0 @@ -{% extends "base.html" %} -{% import "macros.html" as macros %} -{% block content %} - -{{ macros::page_content(page=page) }} - - - - -{% endblock %} diff --git a/templates/page_linklog.html b/templates/page_linklog.html deleted file mode 100644 index e4fc945..0000000 --- a/templates/page_linklog.html +++ /dev/null @@ -1,6 +0,0 @@ -{% extends "base.html" %} -{% import "macros.html" as macros %} - -{% block content %} -{{ page.content | replace(from="", to=macros::linklog(page=page)) | safe }} -{% endblock %} diff --git a/templates/section_posts.html b/templates/section_posts.html deleted file mode 100644 index f44321f..0000000 --- a/templates/section_posts.html +++ /dev/null @@ -1,19 +0,0 @@ -{% extends "base.html" %} -{% block content %} -{% set posts = get_section(path="posts/_index.md") %} - -

{{ section.title }}

-

- Follow via Atom/RSS (Huh?) -

- diff --git a/templates/section_projects.html b/templates/section_projects.html deleted file mode 100644 index be0db07..0000000 --- a/templates/section_projects.html +++ /dev/null @@ -1,5 +0,0 @@ -{% extends "base.html" %} - -{% block content %} -{{ section.content | safe }} -{% endblock %} diff --git a/templates/shortcodes/fig.html b/templates/shortcodes/fig.html deleted file mode 100644 index 4ac99b4..0000000 --- a/templates/shortcodes/fig.html +++ /dev/null @@ -1,4 +0,0 @@ -
- {{ alt }} - -
diff --git a/templates/shortcodes/linklog.html b/templates/shortcodes/linklog.html deleted file mode 100644 index 6f46a2b..0000000 --- a/templates/shortcodes/linklog.html +++ /dev/null @@ -1 +0,0 @@ - diff --git a/templates/shortcodes/toc.html b/templates/shortcodes/toc.html deleted file mode 100644 index 479abec..0000000 --- a/templates/shortcodes/toc.html +++ /dev/null @@ -1 +0,0 @@ - -- cgit v1.3