summaryrefslogtreecommitdiff
path: root/config.toml
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2023-07-23 18:50:51 +0200
committerPatrick Spek <p.spek@tyil.nl>2023-07-23 18:50:51 +0200
commit05bcb583f05c49d6ecd793b1fcdd0242930a1f96 (patch)
tree613cfa7a6b561009d74fbe67f5c04f68ea87d641 /config.toml
parentcc2713533d4c2fc75960dfe1767497050bfef516 (diff)
Add gemini output supportgemini
Diffstat (limited to 'config.toml')
-rw-r--r--config.toml20
1 files changed, 20 insertions, 0 deletions
diff --git a/config.toml b/config.toml
index 3a6a07e..c7ecabd 100644
--- a/config.toml
+++ b/config.toml
@@ -9,5 +9,25 @@ noClasses = false
codeFences = true
tabwidth = 8
+[mediaTypes."text/gemini"]
+suffixes = ["gmi"]
+
+[outputFormats.GEMINI]
+name = "GEMINI"
+isPlainText = true
+isHTML = false
+mediaType = "text/gemini"
+protocol = "gemini://"
+permalinkable = true
+
+[outputFormats."GEMINI_RSS"]
+baseName = "feed"
+mediaType = "application/rss+xml"
+isPlainText = false
+
+[outputs]
+home = ["HTML", "RSS", "GEMINI", "GEMINI_RSS"]
+page = ["HTML", "GEMINI", "GEMINI_RSS"]
+
[permalinks]
posts = "/post/:year/:month/:day/:title/"