aboutsummaryrefslogtreecommitdiff
path: root/hugo.toml
diff options
context:
space:
mode:
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