aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials
diff options
context:
space:
mode:
authorNicholas Johnson <mail@nicholasjohnson.ch>2024-06-30 00:00:00 +0000
committerNicholas Johnson <mail@nicholasjohnson.ch>2024-06-30 00:00:00 +0000
commit2ea80ee16905df204c1fedda13740516e934256ebd4080ff2de2d2319dfd542f (patch)
tree6ca575d262e9a7e86ccc86bd72ab3cc0242ba2f3c72ca6ad47b162443a92f011 /layouts/partials
parent821b58957a5625ac30ce5c5c3a588b8eb19f99a0a0cbb2e71a1ef67d89c9c58c (diff)
downloadhugo-theme-journal-2ea80ee16905df204c1fedda13740516e934256ebd4080ff2de2d2319dfd542f.tar.gz
hugo-theme-journal-2ea80ee16905df204c1fedda13740516e934256ebd4080ff2de2d2319dfd542f.zip
Add missing end of line matching
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 00d78cd..a4bf636 100644
--- a/layouts/partials/metadata.gmi
+++ b/layouts/partials/metadata.gmi
@@ -1,2 +1,2 @@
{{ partial "pageinfo.gmi" . }}
-=> {{ .RelPermalink | replaceRE `(?m)index.gmi` "" }} {{ emojify ":link:" | safeHTML }} {{ .Title | safeHTML }} \ No newline at end of file
+=> {{ .RelPermalink | replaceRE `(?m)index.gmi$` "" }} {{ emojify ":link:" | safeHTML }} {{ .Title | safeHTML }} \ No newline at end of file