aboutsummaryrefslogtreecommitdiff
path: root/config/_default
diff options
context:
space:
mode:
authorNicholas Johnson <mail@nicholasjohnson.ch>2024-11-07 00:00:00 +0000
committerNicholas Johnson <mail@nicholasjohnson.ch>2024-11-07 00:00:00 +0000
commite8ce80b80dc1ebfc1db1e0cee7a7f7ac1e0e7e94961e456e5e60d1a15caeb7fe (patch)
treef6b9cd467ef103f8e2aca8b1f34b18ea847e8267b1dcf2aeef0dea10834c5727 /config/_default
parent49ac99612abe9fbe54547934fc76cba4bc277e2597b33716dbda4da00e5c6593 (diff)
downloadhugo-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 'config/_default')
-rw-r--r--config/_default/hugo.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/_default/hugo.toml b/config/_default/hugo.toml
index e2e77ea..7b4cc1e 100644
--- a/config/_default/hugo.toml
+++ b/config/_default/hugo.toml
@@ -10,6 +10,7 @@
baseName = "atom"
[outputFormats.Gemini]
mediaType = "text/gemini"
+ isPlainText = true # Disable HTML renderer
[outputFormats.Gemini_Atom]
mediaType = "application/atom"
baseName = "atom"