aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials
diff options
context:
space:
mode:
authorNicholas Johnson <nick@nicholasjohnson.ch>2023-02-25 00:00:00 +0000
committerNicholas Johnson <nick@nicholasjohnson.ch>2023-02-25 00:00:00 +0000
commit8dffa37f8ac556ed834feb78d8d659592808fe342f2078eaeea6c256d2ad0529 (patch)
tree42df5ab87619598efc2273e3838082026fe5fbf6ccdc7254a4d1eb9be08f8d65 /layouts/partials
parent18768e9d5e08ec84b8af2289cb1b3c3aab04b4b2afb9456f4590357d0076780a (diff)
downloadhugo-theme-journal-8dffa37f8ac556ed834feb78d8d659592808fe342f2078eaeea6c256d2ad0529.tar.gz
hugo-theme-journal-8dffa37f8ac556ed834feb78d8d659592808fe342f2078eaeea6c256d2ad0529.zip
Make Gemini index page links consistent
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/metadata.gmi2
1 files changed, 1 insertions, 1 deletions
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 }}