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