diff options
Diffstat (limited to 'hugo.toml')
-rw-r--r-- | hugo.toml | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -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 |