summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--content/now.md5
-rw-r--r--content/posts/directory-aware-git.md2
-rw-r--r--content/posts/git-path-conditional-config-and-ssh-key-signing.md2
-rw-r--r--content/posts/home-server-part-2.md2
-rw-r--r--content/posts/home-server-part-3.md2
-rw-r--r--content/posts/home-server-part-4.md2
-rw-r--r--content/posts/home-server-part-5/index.md2
-rw-r--r--content/posts/now-2023-winter.md2
-rw-r--r--content/posts/now-2024-fall.md2
-rw-r--r--content/posts/now-2024-spring.md6
-rw-r--r--content/posts/now-2024-summer.md2
-rw-r--r--content/posts/now-2025-fall.md2
-rw-r--r--content/posts/now-2025-summer.md2
-rw-r--r--content/posts/now-2025-winter.md2
-rw-r--r--content/posts/tech-stack-retro-prospective.md4
-rw-r--r--content/projects/_index.md2
-rw-r--r--templates/macros.html17
-rw-r--r--templates/now.html10
-rw-r--r--templates/page.html10
19 files changed, 51 insertions, 27 deletions
diff --git a/content/now.md b/content/now.md
new file mode 100644
index 0000000..26e37d7
--- /dev/null
+++ b/content/now.md
@@ -0,0 +1,5 @@
+---
+title: Now
+weight: 0
+template: now.html
+---
diff --git a/content/posts/directory-aware-git.md b/content/posts/directory-aware-git.md
index bee31a8..a8c518e 100644
--- a/content/posts/directory-aware-git.md
+++ b/content/posts/directory-aware-git.md
@@ -5,7 +5,7 @@ extra:
kind: note
---
-> Update 2024-12-22: The functionality described here is available natively in modern versions of Git, see more recent note [Path-conditional config and SSH key signing in `git`](../archive/git-path-conditional-config-and-ssh-key-signing).
+> Update 2024-12-22: The functionality described here is available natively in modern versions of Git, see more recent note [Path-conditional config and SSH key signing in `git`](/posts/git-path-conditional-config-and-ssh-key-signing).
> Update 2024-05-10: Fixed a bug in the provided script.
diff --git a/content/posts/git-path-conditional-config-and-ssh-key-signing.md b/content/posts/git-path-conditional-config-and-ssh-key-signing.md
index 4814669..6924a91 100644
--- a/content/posts/git-path-conditional-config-and-ssh-key-signing.md
+++ b/content/posts/git-path-conditional-config-and-ssh-key-signing.md
@@ -36,7 +36,7 @@ I personally use separate Git identities and SSH keys for personal and work proj
gpgsign = true
```
-I'm happy that this is supported natively, so I don't have to use any wrapper scripts, such as those described in [a previous note](../archive/directory-aware-git).
+I'm happy that this is supported natively, so I don't have to use any wrapper scripts, such as those described in [a previous note](/posts/directory-aware-git).
## SSH key signing
diff --git a/content/posts/home-server-part-2.md b/content/posts/home-server-part-2.md
index 937a8df..bc578be 100644
--- a/content/posts/home-server-part-2.md
+++ b/content/posts/home-server-part-2.md
@@ -14,7 +14,7 @@ extra:
This is the second post in a blog series chronicling my progress with designing and setting up a new, physical FreeBSD home server. Last time we went over my motivations, and this time we're looking at the physical hardware.
-Check out episode [1](../archive/home-server-part-1).
+Check out episode [1](/posts/home-server-part-1).
{{ toc() }}
diff --git a/content/posts/home-server-part-3.md b/content/posts/home-server-part-3.md
index 7aadbba..cad17a6 100644
--- a/content/posts/home-server-part-3.md
+++ b/content/posts/home-server-part-3.md
@@ -9,7 +9,7 @@ extra:
This is the third episode in a series where I set up a FreeBSD home server, explaining all the steps, problems and solutions along the way. This time we're installing the OS for the first time.
-Check out episodes [1](../archive/home-server-part-1) and [2](../archive/home-server-part-2).
+Check out episodes [1](/posts/home-server-part-1) and [2](/posts/home-server-part-2).
{{ toc() }}
diff --git a/content/posts/home-server-part-4.md b/content/posts/home-server-part-4.md
index 5baf038..a53c316 100644
--- a/content/posts/home-server-part-4.md
+++ b/content/posts/home-server-part-4.md
@@ -9,7 +9,7 @@ extra:
This is the fourth episode in a series where I set up a FreeBSD home server, explaining all the steps, problems and solutions along the way. This time we're setting up the networking.
-Check out episodes [1](../archive/home-server-part-1), [2](../archive/home-server-part-2), [3](../archive/home-server-part-3).
+Check out episodes [1](/posts/home-server-part-1), [2](/posts/home-server-part-2), [3](/posts/home-server-part-3).
{{ toc() }}
diff --git a/content/posts/home-server-part-5/index.md b/content/posts/home-server-part-5/index.md
index 16d60f0..44e24c9 100644
--- a/content/posts/home-server-part-5/index.md
+++ b/content/posts/home-server-part-5/index.md
@@ -9,7 +9,7 @@ extra:
This is the fifth episode in a series where I set up a FreeBSD home server, explaining all the steps, problems and solutions along the way. This time we're provisioning the server with Ansible.
-Check out episodes [1](../archive/home-server-part-1), [2](../archive/home-server-part-2), [3](../archive/home-server-part-3), [4](../archive/home-server-part-4).
+Check out episodes [1](/posts/home-server-part-1), [2](/posts/home-server-part-2), [3](/posts/home-server-part-3), [4](/posts/home-server-part-4).
{{ toc() }}
diff --git a/content/posts/now-2023-winter.md b/content/posts/now-2023-winter.md
index f2e38f1..bdae73a 100644
--- a/content/posts/now-2023-winter.md
+++ b/content/posts/now-2023-winter.md
@@ -9,7 +9,7 @@ extra:
- Working on this site
- Doing small renovations and fixes to the house
-- Learning Chicken Scheme and using it to build [desmoctl](/projects#desmoctl) and [this website](/archive/deploying-the-garden)
+- Learning Chicken Scheme and using it to build [desmoctl](/projects#desmoctl) and [this website](/posts/deploying-the-garden)
- Reading _Category Theory for Programmers_ by Bartosz Milewski
## Recently
diff --git a/content/posts/now-2024-fall.md b/content/posts/now-2024-fall.md
index 95e846a..386174e 100644
--- a/content/posts/now-2024-fall.md
+++ b/content/posts/now-2024-fall.md
@@ -82,4 +82,4 @@ Enjoyed watching:
## Previous update
-- [🌞 Now, summer 2024](../archive/now-2024-summer)
+- [🌞 Now, summer 2024](/posts/now-2024-summer)
diff --git a/content/posts/now-2024-spring.md b/content/posts/now-2024-spring.md
index 93b1e94..9dd2e3a 100644
--- a/content/posts/now-2024-spring.md
+++ b/content/posts/now-2024-spring.md
@@ -14,14 +14,14 @@ Your browser does not support the video tag.
## Travel
-- Attended the [QCon London 2024](../archive/qcon-london-2024-takeaways) in London
+- Attended the [QCon London 2024](/posts/qcon-london-2024-takeaways) in London
- Went to [Tahko](https://www.tahko.com/en/) for a company leisure trip to downhill ski and snowmobile
## Music
[BLEK](../projects#blek) was live for 3 hours on student radio Radiodiodi with a dungeon synth genre deepdive program. According to metrics, 20 people (!) were listening to our show, which was also our grand EP premiere. Big leagues.
-I bought a [cassette player](../archive/cassettes) and a bunch of metal and dungeon synth tapes, as well some empty ones from the Bezos shop. I'm planning to record BLEK's music on some of them.
+I bought a [cassette player](/posts/cassettes) and a bunch of metal and dungeon synth tapes, as well some empty ones from the Bezos shop. I'm planning to record BLEK's music on some of them.
## Games
@@ -80,4 +80,4 @@ Things I still want to add:
## Previous update
-[❄️ Now, winter 2023](../archive/now-2023-winter)
+[❄️ Now, winter 2023](/posts/now-2023-winter)
diff --git a/content/posts/now-2024-summer.md b/content/posts/now-2024-summer.md
index e4d06c4..ddde55f 100644
--- a/content/posts/now-2024-summer.md
+++ b/content/posts/now-2024-summer.md
@@ -51,4 +51,4 @@ extra:
## Previous update
-- [🌱 Now, spring 2024](../archive/now-2024-spring)
+- [🌱 Now, spring 2024](/posts/now-2024-spring)
diff --git a/content/posts/now-2025-fall.md b/content/posts/now-2025-fall.md
index 220e6ea..8e4a3b1 100644
--- a/content/posts/now-2025-fall.md
+++ b/content/posts/now-2025-fall.md
@@ -84,4 +84,4 @@ So, a lot of traveling in a short timespan, so I've been feeling quite exhausted
## Previous update
-- [☀️ Now, summer 2025](../archive/now-2025-summer)
+- [☀️ Now, summer 2025](/posts/now-2025-summer)
diff --git a/content/posts/now-2025-summer.md b/content/posts/now-2025-summer.md
index 2f999dc..8c5a1ac 100644
--- a/content/posts/now-2025-summer.md
+++ b/content/posts/now-2025-summer.md
@@ -107,4 +107,4 @@ Mostly FreeBSD stuff by [Michael W. Lucas](https://mwl.io/nonfiction/os).
## Previous update
-- [🍁 Now, fall 2024](../archive/now-2024-fall)
+- [🍁 Now, fall 2024](/posts/now-2024-fall)
diff --git a/content/posts/now-2025-winter.md b/content/posts/now-2025-winter.md
index 9e6aa85..012e2b2 100644
--- a/content/posts/now-2025-winter.md
+++ b/content/posts/now-2025-winter.md
@@ -119,4 +119,4 @@ I feel like I'm using Spotify less and less. Might drop the subscription in the
## Previous update
-- [🍁 Now, fall 2025](../archive/now-2025-fall)
+- [🍁 Now, fall 2025](/posts/now-2025-fall)
diff --git a/content/posts/tech-stack-retro-prospective.md b/content/posts/tech-stack-retro-prospective.md
index af16cf6..2c77fb5 100644
--- a/content/posts/tech-stack-retro-prospective.md
+++ b/content/posts/tech-stack-retro-prospective.md
@@ -5,7 +5,7 @@ extra:
kind: note
---
-I have a website authoring system that involves Obsidian sync and a hand-crafted static site generator (SSG) [written in Scheme](../archive/deploying-the-garden) that:
+I have a website authoring system that involves Obsidian sync and a hand-crafted static site generator (SSG) [written in Scheme](/posts/deploying-the-garden) that:
- syncs Markdown files to my VPS
- compiles Markdown source files into HTML pages using pandoc
@@ -36,6 +36,6 @@ I would like to add a new feature: rendering recent links from [my linkhut profi
### Approach
-In the light of my [most recent post](../archive/pile-of-incomplete-projects) I should fight the urge to rewrite the thing in Rust. However, I really want to get rid of pandoc.
+In the light of my [most recent post](/posts/pile-of-incomplete-projects) I should fight the urge to rewrite the thing in Rust. However, I really want to get rid of pandoc.
As such, I will probably RiiR at some point, using a [markdown library](https://github.com/wooorm/markdown-rs) instead of pandoc.
diff --git a/content/projects/_index.md b/content/projects/_index.md
index 1fc559f..22f6291 100644
--- a/content/projects/_index.md
+++ b/content/projects/_index.md
@@ -25,7 +25,7 @@ A CLI tool for communicating with a [Desmofylakas API](https://github.com/poksia
### [Diddle](diddle)
-A minimalist, performant, accessibility-focused Doodle alternative. See [post](../archive/diddle-event-scheduler).
+A minimalist, performant, accessibility-focused Doodle alternative. See [post](/posts/diddle-event-scheduler).
### [Learning Japanese](learning-japanese)
diff --git a/templates/macros.html b/templates/macros.html
index b4cb6d0..3922659 100644
--- a/templates/macros.html
+++ b/templates/macros.html
@@ -26,3 +26,20 @@
{% endfor %}
</ul>
{% endmacro %}
+
+{% macro page_h1(page) %}
+<h1>
+ {{ page.title }}<br />
+ {% if page.date %}
+ <small>({{ page.date }})</small>
+ {% endif %}
+ {% if page.extra.kind %}
+ <small>[{{ page.extra.kind }}]</small>
+ {% endif %}
+</h1>
+{% endmacro %}
+
+{% macro page_content(page) %}
+{{ self::page_h1(page=page) }}
+{{ page.content | replace(from="<!-- toc -->", to=macros::toc(page=page)) | safe }}
+{% endmacro %}
diff --git a/templates/now.html b/templates/now.html
new file mode 100644
index 0000000..9eaa6a6
--- /dev/null
+++ b/templates/now.html
@@ -0,0 +1,10 @@
+{% 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
index 6c288d1..61db175 100644
--- a/templates/page.html
+++ b/templates/page.html
@@ -2,15 +2,7 @@
{% import "macros.html" as macros %}
{% block content %}
-<h1>
- {{ page.title }}<br />
- {% if page.date %}
- <small>({{ page.date }})</small>
- {% endif %}
- <small>[{{ page.extra.kind }}]</small>
-</h1>
-
-{{ page.content | replace(from="<!-- toc -->", to=macros::toc(page=page)) | safe }}
+{{ macros::page_content(page=page) }}
<nav class="post-nav" aria-label="Post navigation">
{% if page.higher %}