diff options
author | Nicholas Johnson <nick@nicholasjohnson.ch> | 2023-02-25 00:00:00 +0000 |
---|---|---|
committer | Nicholas Johnson <nick@nicholasjohnson.ch> | 2023-02-25 00:00:00 +0000 |
commit | 8dffa37f8ac556ed834feb78d8d659592808fe342f2078eaeea6c256d2ad0529 (patch) | |
tree | 42df5ab87619598efc2273e3838082026fe5fbf6ccdc7254a4d1eb9be08f8d65 /layouts/_default | |
parent | 18768e9d5e08ec84b8af2289cb1b3c3aab04b4b2afb9456f4590357d0076780a (diff) | |
download | hugo-theme-journal-8dffa37f8ac556ed834feb78d8d659592808fe342f2078eaeea6c256d2ad0529.tar.gz hugo-theme-journal-8dffa37f8ac556ed834feb78d8d659592808fe342f2078eaeea6c256d2ad0529.zip |
Make Gemini index page links consistent
Diffstat (limited to 'layouts/_default')
-rw-r--r-- | layouts/_default/taxonomy.gmi | 2 |
1 files changed, 1 insertions, 1 deletions
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 }} |