From e8ce80b80dc1ebfc1db1e0cee7a7f7ac1e0e7e94961e456e5e60d1a15caeb7fe Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Thu, 7 Nov 2024 00:00:00 +0000 Subject: Disable HTML renderer for Gemini output format This avoids littering the gemtext templates with "safeHTML". --- layouts/term/term.gmi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'layouts/term/term.gmi') diff --git a/layouts/term/term.gmi b/layouts/term/term.gmi index 8d6158f..fc765bf 100644 --- a/layouts/term/term.gmi +++ b/layouts/term/term.gmi @@ -1,13 +1,13 @@ {{ 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 | singularize | humanize | safeHTML }} "{{ .Title | safeHTML }}" +# {{ .Type | singularize | humanize }} "{{ .Title }}" ## {{ 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 "journalEntries" -}} -- cgit v1.2.3