summaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/_markup/render-link.html2
-rw-r--r--layouts/_default/single.gmi2
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/_markup/render-link.html b/layouts/_default/_markup/render-link.html
index b62e944..8a0192e 100644
--- a/layouts/_default/_markup/render-link.html
+++ b/layouts/_default/_markup/render-link.html
@@ -1,2 +1,2 @@
-{{ $emoji := cond (.Page.Params.nolinkemoji | default false) "" (emojify ":link: ") -}}
+{{ $emoji := cond (.Page.Params.showlinkemoji | default true) (emojify ":link: ") "" -}}
<a class="link" href="{{ .Destination | safeURL }}" rel="noreferrer">{{ $emoji }}{{ .Text | safeHTML }}</a>
diff --git a/layouts/_default/single.gmi b/layouts/_default/single.gmi
index 6201f74..9e2ca9c 100644
--- a/layouts/_default/single.gmi
+++ b/layouts/_default/single.gmi
@@ -1,5 +1,5 @@
{{ define "main" }}
-{{ $emoji := cond (.Page.Params.nolinkemoji | default false) "" "🔗 " -}}
+{{ $emoji := cond (.Page.Params.showlinkemoji | default true) "🔗 " "" -}}
=> / 🔗 Return to homepage