From 7fa38ae15fea17858bf0161512fb5a3585d552b3 Mon Sep 17 00:00:00 2001 From: Alexander Neonxp Kiryukhin Date: Tue, 24 Dec 2024 02:44:49 +0300 Subject: Auto-commit 2024-12-24 --- hugo.toml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'hugo.toml') 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 -- cgit v1.2.3