diff options
author | Nicholas Johnson <mail@nicholasjohnson.ch> | 2024-11-07 00:00:00 +0000 |
---|---|---|
committer | Nicholas Johnson <mail@nicholasjohnson.ch> | 2024-11-07 00:00:00 +0000 |
commit | e8ce80b80dc1ebfc1db1e0cee7a7f7ac1e0e7e94961e456e5e60d1a15caeb7fe (patch) | |
tree | f6b9cd467ef103f8e2aca8b1f34b18ea847e8267b1dcf2aeef0dea10834c5727 /layouts/taxonomy/taxonomy.gmi | |
parent | 49ac99612abe9fbe54547934fc76cba4bc277e2597b33716dbda4da00e5c6593 (diff) | |
download | hugo-theme-journal-e8ce80b80dc1ebfc1db1e0cee7a7f7ac1e0e7e94961e456e5e60d1a15caeb7fe.tar.gz hugo-theme-journal-e8ce80b80dc1ebfc1db1e0cee7a7f7ac1e0e7e94961e456e5e60d1a15caeb7fe.zip |
Disable HTML renderer for Gemini output format
This avoids littering the gemtext templates with "safeHTML".
Diffstat (limited to 'layouts/taxonomy/taxonomy.gmi')
-rw-r--r-- | layouts/taxonomy/taxonomy.gmi | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/taxonomy/taxonomy.gmi b/layouts/taxonomy/taxonomy.gmi index 873571d..4777616 100644 --- a/layouts/taxonomy/taxonomy.gmi +++ b/layouts/taxonomy/taxonomy.gmi @@ -1,5 +1,5 @@ {{ define "main" -}} -=> {{ .Site.Home.RelPermalink | replaceRE `(?m)index.gmi$` "" }} {{ emojify ":link:" | safeHTML }} {{ i18n "returnHome" }} +=> {{ .Site.Home.RelPermalink | replaceRE `(?m)index.gmi$` "" }} {{ emojify ":link:" }} {{ i18n "returnHome" }} # {{ .Type | humanize }} @@ -7,11 +7,11 @@ ## {{ i18n "feeds" }} -=> {{ .RelPermalink | replaceRE `(?m)index.gmi$` "atom.xml" | safeHTML }} {{ emojify ":link:" | safeHTML }} {{ i18n "atomFeed" }} +=> {{ .RelPermalink | replaceRE `(?m)index.gmi$` "atom.xml" }} {{ emojify ":link:" }} {{ i18n "atomFeed" }} ## {{ i18n "list" }} {{ range .Data.Pages }} -=> {{ .RelPermalink | replaceRE `(?m)index.gmi$` "" }} {{ emojify ":link:" | safeHTML }} {{ .Title | safeHTML -}} +=> {{ .RelPermalink | replaceRE `(?m)index.gmi$` "" }} {{ emojify ":link:" }} {{ .Title -}} {{ end -}} {{ end }}
\ No newline at end of file |