From 86ed54e73b7f8c86f4e3150cfae59f438820f81a14cb53958089db3bd2b61a2e Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Thu, 7 Nov 2024 00:00:00 +0000 Subject: Set Gemini protocol This avoids littering the gemtext templates with regex to change the protocol. --- 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 7ee4064..7f897c3 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:" }} {{ .Title }} \ No newline at end of file +=> {{ .RelPermalink | replaceRE `index.gmi$` "" }} {{ emojify ":link:" }} {{ .Title }} \ No newline at end of file -- cgit v1.2.3