From 2ea80ee16905df204c1fedda13740516e934256ebd4080ff2de2d2319dfd542f Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Sun, 30 Jun 2024 00:00:00 +0000 Subject: Add missing end of line matching --- layouts/partials/metadata.gmi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts/partials/metadata.gmi') 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 -- cgit v1.2.3