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/partials/metadata.gmi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts/partials') diff --git a/layouts/partials/metadata.gmi b/layouts/partials/metadata.gmi index 31b1155..5c137bf 100644 --- a/layouts/partials/metadata.gmi +++ b/layouts/partials/metadata.gmi @@ -1,2 +1,2 @@ {{- partial "pageinfo.gmi" . }} -=> {{ .RelPermalink }} {{ emojify ":link:" | safeHTML }} {{ .Title | safeHTML }} +=> {{ .RelPermalink | replaceRE `(?m)index.gmi` "" }} {{ emojify ":link:" | safeHTML }} {{ .Title | safeHTML }} -- cgit v1.2.3