aboutsummaryrefslogtreecommitdiff
path: root/hugo.toml
diff options
context:
space:
mode:
authorAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-12-24 02:44:49 +0300
committerAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-12-24 02:44:49 +0300
commit7fa38ae15fea17858bf0161512fb5a3585d552b3 (patch)
tree71736696de48bb5a921f96aeef5a464ec03df5bf /hugo.toml
parent9801aa876b48f2ad35ed65119bd2c24d30a680a3 (diff)
Auto-commit 2024-12-24
Diffstat (limited to 'hugo.toml')
-rw-r--r--hugo.toml13
1 files changed, 12 insertions, 1 deletions
diff --git a/hugo.toml b/hugo.toml
index 6c81626..c428532 100644
--- a/hugo.toml
+++ b/hugo.toml
@@ -91,6 +91,7 @@ page = "/pages/:slug/"
[markup]
+defaultMarkdownHandler = 'goldmark'
[markup.goldmark]
duplicateResourceFiles = false
[markup.goldmark.extensions]
@@ -167,7 +168,7 @@ suffixes = ["txt"]
[outputs]
page = ["html", "gemini", "text"]
-home = ["html", "json", "gemini", "text"]
+home = ["html", "json", "gemini", "text", "twtxt"]
section = ["html", "rss", "json", "gemini", "text"]
taxonomy = ["html", "gemini", "text"]
term = ["html", "gemini", "text"]
@@ -192,6 +193,16 @@ isHTML = false
protocol = "gopher://"
noUgly = true
+[outputFormats.TwTxt]
+name = "twtxt"
+mediaType = "text/plain"
+baseName = "twtxt"
+isPlainText = true
+permalinkable = true
+isHTML = false
+protocol = "gopher://"
+noUgly = true
+
[pagination]
disableAliases = false
pagerSize = 10