aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default/_markup
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/_markup')
-rw-r--r--layouts/_default/_markup/render-link.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/layouts/_default/_markup/render-link.html b/layouts/_default/_markup/render-link.html
index 9a14f8f..fb5a1e3 100644
--- a/layouts/_default/_markup/render-link.html
+++ b/layouts/_default/_markup/render-link.html
@@ -1 +1,2 @@
-<a href="{{ .Destination | safeURL }}" rel="noreferrer">🔗 {{ .Text | safeHTML }}</a>
+{{ $emoji := cond (.Page.Params.nolinkemoji | default false) "" "🔗 " -}}
+<a href="{{ .Destination | safeURL }}" rel="noreferrer">{{ $emoji }}{{ .Text | safeHTML }}</a>