aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorNicholas Johnson <nick@nicksphere.ch>2022-09-07 00:00:00 +0000
committerNicholas Johnson <nick@nicksphere.ch>2022-09-07 00:00:00 +0000
commitaf8a3a0f5dc102e5ad1c275638925258d5cc785b01176a1d126b4a85c5e31206 (patch)
tree1273e45721c2d1de50503315859093490a3308913e9fa28688adef1ae08ad1e0 /layouts
parenta2b556704e5af545885583bc289422f28802ef042d8faab0c0fccfeac8fa28dd (diff)
downloadhugo-theme-journal-af8a3a0f5dc102e5ad1c275638925258d5cc785b01176a1d126b4a85c5e31206.tar.gz
hugo-theme-journal-af8a3a0f5dc102e5ad1c275638925258d5cc785b01176a1d126b4a85c5e31206.zip
Simplify URL in single.gmi
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/single.gmi2
1 files changed, 1 insertions, 1 deletions
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 }}