From 6d7e34af89ef1038d213ff8ea325bb84d4a00d4a Mon Sep 17 00:00:00 2001 From: Jan T Date: Fri, 2 Jan 2026 14:19:40 +0000 Subject: Initial commit --- templates/base.html | 159 +++++++++++++++++++++++++++++++++++++++++++++++++ templates/index.html | 64 ++++++++++++++++++++ templates/page.html | 56 +++++++++++++++++ templates/section.html | 8 +++ 4 files changed, 287 insertions(+) create mode 100644 templates/base.html create mode 100644 templates/index.html create mode 100644 templates/page.html create mode 100644 templates/section.html (limited to 'templates') diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..c000c1b --- /dev/null +++ b/templates/base.html @@ -0,0 +1,159 @@ + + + + + + + + + {% if page.date %} + + {% endif %} {% if page.extra.keywords %} + + {% endif %} {% block title %} {% if page.title %} + {{ page.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 new file mode 100644 index 0000000..fdcd433 --- /dev/null +++ b/templates/index.html @@ -0,0 +1,64 @@ +{% 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/page.html b/templates/page.html new file mode 100644 index 0000000..19f42a7 --- /dev/null +++ b/templates/page.html @@ -0,0 +1,56 @@ +{% extends "base.html" %} {% block content %} + +

+ {{ page.title }}
+ {{ page.date }} + [{{ page.extra.kind }}] +

+ +{% block lede %} +

{{ page.description }}

+{% endblock %} + +{% block toc %} + +{% endblock %} + +{{ page.content | safe }} + + + + +{% endblock %} diff --git a/templates/section.html b/templates/section.html new file mode 100644 index 0000000..c9ed8b1 --- /dev/null +++ b/templates/section.html @@ -0,0 +1,8 @@ +{% extends "base.html" %} {% block content %} + +

{{ section.title }}

+{% for page in section.pages %} + +{% endfor %} {% endblock %} -- cgit v1.3