aboutsummaryrefslogtreecommitdiff
path: root/hugo.toml
diff options
context:
space:
mode:
authorAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-12-20 00:13:19 +0300
committerAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-12-20 00:13:19 +0300
commitdabea0efa5b58f6da478549d3889a56d5d1b5a09 (patch)
tree98ef67e651ad43aa467d20e6ea3e159b79a95008 /hugo.toml
parentf7c7f91ec0ffeddbfd3676cccd43edfb66c7d05d (diff)
Auto-commit 2024-12-20
Diffstat (limited to 'hugo.toml')
-rw-r--r--hugo.toml24
1 files changed, 21 insertions, 3 deletions
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