diff options
Diffstat (limited to 'layouts/_default')
-rw-r--r-- | layouts/_default/single.gmi | 2 | ||||
-rw-r--r-- | layouts/_default/single.html | 2 | ||||
-rw-r--r-- | layouts/_default/taxonomy.gmi | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/layouts/_default/single.gmi b/layouts/_default/single.gmi index 54c4070..d164f8e 100644 --- a/layouts/_default/single.gmi +++ b/layouts/_default/single.gmi @@ -1,6 +1,6 @@ {{ define "main" }} {{ $emoji := cond (.Page.Params.showlinkemoji | default true) (emojify ":link: ") "" -}} -=> / {{ emojify ":link:" }} Return to homepage +=> / {{ emojify ":link:" | safeHTML }} Return to homepage {{ if (.Page.Params.pageinfo | default true) }}{{ partial "pageinfo.gmi" . }} 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:" }} <a class="link" href="/" rel="noreferrer">Return to homepage</a></p> + <p>{{ emojify ":link:" | safeHTML }} <a class="link" href="/" rel="noreferrer">Return to homepage</a></p> </nav> {{- if (.Page.Params.pageinfo | default true) }} <p>{{ partial "pageinfo.html" . }}</p>{{ end }} diff --git a/layouts/_default/taxonomy.gmi b/layouts/_default/taxonomy.gmi index f0a4b63..ad90191 100644 --- a/layouts/_default/taxonomy.gmi +++ b/layouts/_default/taxonomy.gmi @@ -1,6 +1,6 @@ {{ define "main" -}} # All {{ .Type }} {{- range .Data.Pages }} -=> {{ .RelPermalink }} {{ emojify ":link:" }} {{ .Title }} +=> {{ .RelPermalink }} {{ emojify ":link:" | safeHTML }} {{ .Title | safeHTML }} {{- end }} {{- end }} |