From dabea0efa5b58f6da478549d3889a56d5d1b5a09 Mon Sep 17 00:00:00 2001 From: Alexander Neonxp Kiryukhin Date: Fri, 20 Dec 2024 00:13:19 +0300 Subject: Auto-commit 2024-12-20 --- hugo.toml | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) (limited to 'hugo.toml') diff --git a/hugo.toml b/hugo.toml index de0b253..5e623df 100644 --- a/hugo.toml +++ b/hugo.toml @@ -106,10 +106,28 @@ lineNos = false lineNumbersInTable = true tabWidth = 4 +[mediaTypes] +[mediaTypes."text/gemini"] +suffixes = ["gmi"] +[mediaTypes."text/plain"] +suffixes = ["txt"] + [outputs] -page = ["html"] -home = ["html", "json"] -section = ["html", "rss", "json"] +page = ["html", "gemini"] +home = ["html", "json", "gemini"] +section = ["html", "rss", "json", "gemini"] +taxonomy = ["html", "gemini"] +term = ["html", "gemini"] + +[outputFormats.Gemini] +name = "gemini" +mediaType = "text/gemini" +baseName = "index" +isPlainText = true +permalinkable = true +isHTML = false +protocol = "gemini://" +noUgly = true [pagination] disableAliases = false -- cgit v1.2.3