aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default/single.html
diff options
context:
space:
mode:
authorNicholas Johnson <nick@nicholasjohnson.ch>2023-02-24 00:00:00 +0000
committerNicholas Johnson <nick@nicholasjohnson.ch>2023-02-24 00:00:00 +0000
commit05422f3a36eb406451d714f16204d8cded3e7fb8eb06131948c2da05749ec20d (patch)
treec19e7acc348802b43ca6d05066d4236491a671b6bbd5eeff5fbf76a2e7b03e9b /layouts/_default/single.html
parent9433a812f2184fa99eeb6ce6249bb49cfc0926bb0e7c3e5bd5b7d42676eee5e7 (diff)
downloadhugo-theme-journal-05422f3a36eb406451d714f16204d8cded3e7fb8eb06131948c2da05749ec20d.tar.gz
hugo-theme-journal-05422f3a36eb406451d714f16204d8cded3e7fb8eb06131948c2da05749ec20d.zip
Declare safeHTML where possible
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r--layouts/_default/single.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 6870ecc..d0cc6a3 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -1,6 +1,6 @@
{{ define "main" -}}
<nav>
- <p>{{ emojify ":link:" }}&nbsp;<a class="link" href="/" rel="noreferrer">Return to homepage</a></p>
+ <p>{{ emojify ":link:" | safeHTML }}&nbsp;<a class="link" href="/" rel="noreferrer">Return to homepage</a></p>
</nav>
{{- if (.Page.Params.pageinfo | default true) }}
<p>{{ partial "pageinfo.html" . }}</p>{{ end }}