From b4caf5fada9567335f6421e46d28a31716a7f3a1 Mon Sep 17 00:00:00 2001 From: Dominic Reich Date: Sun, 9 Feb 2025 17:40:31 +0100 Subject: [PATCH] update gemini config --- content/about/index.md | 3 ++- layouts/index.gmi | 12 ++++++++---- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/content/about/index.md b/content/about/index.md index 028ee2a..634e690 100644 --- a/content/about/index.md +++ b/content/about/index.md @@ -4,7 +4,7 @@ date: 2019-08-21 coverCaption: > Längenfeld at the evening. Photo taken near [Astlehn/Fischbach](https://www.openstreetmap.org/?mlat=47.062377833333336&mlon=10.959586666666667#map=15/47.062377833333336/10.959586666666667). -lastmod: 2025-01-12T16:24:39+0000 +lastmod: 2025-02-09T16:40:31+0000 comment: false aliases: - /about/to-qtztsR-osmprqmg/ @@ -18,6 +18,7 @@ showRelated: false sharingLinks: false +gemini: false feed_exclude: true --- diff --git a/layouts/index.gmi b/layouts/index.gmi index c37255d..adb8eec 100644 --- a/layouts/index.gmi +++ b/layouts/index.gmi @@ -14,10 +14,6 @@ categories on the equipment page. => http://5uxkejb6la7olhncaotybxrscmdlbxwy64ucuyrum4tsgfuoxbyav2qd.onion/ View via Tor Hidden Service => /about/ About this Gemini capsule -=> /archives/ Archives - -## Pages - {{ range (where .RegularPages "Params.gemini" "ne" "false") }} => {{ .RelPermalink }} {{ .Title }} {{- end }} @@ -34,3 +30,11 @@ categories on the equipment page. => {{ .RelPermalink }} {{ .Title }} {{- end }} +## Archives + +{{ range (where (where (where .Site.Pages "Section" "in" (slice "posts")) ".Params.gemini" "ne" "false") ".Params.concept" "ne" "true").GroupByDate "2006" "desc" }}{{ $year := .Key -}} +### {{ .Key }} +{{ range .Pages.ByDate.Reverse }} +=> {{ .RelPermalink }} {{ .Title }} +{{- end }} +{{ end }}