From 8dffa37f8ac556ed834feb78d8d659592808fe342f2078eaeea6c256d2ad0529 Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Sat, 25 Feb 2023 00:00:00 +0000 Subject: Make Gemini index page links consistent --- layouts/_default/taxonomy.gmi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts/_default') diff --git a/layouts/_default/taxonomy.gmi b/layouts/_default/taxonomy.gmi index 04c3f73..56b53a9 100644 --- a/layouts/_default/taxonomy.gmi +++ b/layouts/_default/taxonomy.gmi @@ -8,6 +8,6 @@ ## List {{- range .Data.Pages }} -=> {{ .RelPermalink }} {{ emojify ":link:" | safeHTML }} {{ .Title | safeHTML }} +=> {{ .RelPermalink | replaceRE `(?m)index.gmi$` "" }} {{ emojify ":link:" | safeHTML }} {{ .Title | safeHTML }} {{- end }} {{- end }} -- cgit v1.2.3