From af8a3a0f5dc102e5ad1c275638925258d5cc785b01176a1d126b4a85c5e31206 Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Wed, 7 Sep 2022 00:00:00 +0000 Subject: Simplify URL in single.gmi --- layouts/_default/single.gmi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts/_default') diff --git a/layouts/_default/single.gmi b/layouts/_default/single.gmi index 3bfe6d0..5508559 100644 --- a/layouts/_default/single.gmi +++ b/layouts/_default/single.gmi @@ -1,6 +1,6 @@ {{ define "main" }} {{ $emoji := cond (.Page.Params.nolinkemoji | default false) "" "🔗 " -}} -=> ./{{ replaceRE ".+?/" "../" .RelPermalink | safeURL }} 🔗 Return to homepage +=> / 🔗 Return to homepage # {{ .Name | safeHTML }} -- cgit v1.2.3