diff options
author | Nicholas Johnson <mail@nicholasjohnson.ch> | 2024-11-08 00:00:00 +0000 |
---|---|---|
committer | Nicholas Johnson <mail@nicholasjohnson.ch> | 2024-11-08 00:00:00 +0000 |
commit | 033724cd709402e1da184e60da2da3031d8e119990129baa7ced9f957904e615 (patch) | |
tree | 4df486cfca09184234672c36089a34d467795640f731db850bed3ef91acfcea3 /layouts/term | |
parent | 3b77b61bf662efe71c7f75e73a2d6fae0e3c8c8b74b05f036809b0913785a432 (diff) | |
download | hugo-theme-journal-033724cd709402e1da184e60da2da3031d8e119990129baa7ced9f957904e615.tar.gz hugo-theme-journal-033724cd709402e1da184e60da2da3031d8e119990129baa7ced9f957904e615.zip |
Stop safeHTML overuse in emojis for readability
Diffstat (limited to 'layouts/term')
-rw-r--r-- | layouts/term/term.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/term/term.html b/layouts/term/term.html index fa89acf..5519ba2 100644 --- a/layouts/term/term.html +++ b/layouts/term/term.html @@ -1,11 +1,11 @@ {{ define "main" -}} <nav> - <p>{{ emojify ":link:" | safeHTML }} <a class="link" href="{{ .Site.Home.RelPermalink }}" rel="noreferrer">{{ i18n "returnHome" }}</a></p> + <p>{{ emojify ":link:" }} <a class="link" href="{{ .Site.Home.RelPermalink }}" rel="noreferrer">{{ i18n "returnHome" }}</a></p> </nav> <main> <h1>{{ .Type | singularize | humanize }} "{{ .Title }}"</h1> <h2>{{ i18n "feeds" }}</h2> - <p><a class="link" href="{{ print .RelPermalink "atom.xml" }}" rel="noreferrer"> {{ emojify ":link:" | safeHTML }} {{ i18n "atomFeed" }}</a></p> + <p><a class="link" href="{{ print .RelPermalink "atom.xml" }}" rel="noreferrer"> {{ emojify ":link:" }} {{ i18n "atomFeed" }}</a></p> <h2>{{ i18n "journalEntries" }}</h2> {{- range .Data.Pages.ByPublishDate.Reverse }} {{ partial "metadata.html" . -}} |