summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Johnson <nick@nicksphere.ch>2022-04-30 00:00:00 +0000
committerNicholas Johnson <nick@nicksphere.ch>2022-04-30 00:00:00 +0000
commit5a02cbfd95267674ae3778f5319204fa0179e03620cad653aba33d7246d42846 (patch)
treefc8c18cc12f5f16f4eb964711a649ef10d2940e48159825419f024fed811fa36
parent43ea1d8ae931cfafe9a921c71e40c1a2c13804701d3166ce16c4778a02b4e07b (diff)
downloadjournal-5a02cbfd95267674ae3778f5319204fa0179e03620cad653aba33d7246d42846.tar.gz
journal-5a02cbfd95267674ae3778f5319204fa0179e03620cad653aba33d7246d42846.zip
Generate Gemini
-rw-r--r--config.toml24
m---------themes/journal0
2 files changed, 16 insertions, 8 deletions
diff --git a/config.toml b/config.toml
index 18ca08c..39b5cd2 100644
--- a/config.toml
+++ b/config.toml
@@ -1,5 +1,4 @@
theme = "hugo-theme-nicksphere"
-baseURL = "https://nicksphere.ch"
title = "Nick's Journal"
copyright = "CC BY-SA 4.0"
languageCode = "en-us"
@@ -43,13 +42,21 @@ rssLimit = 20
weight = 4
[mediaTypes]
-[mediaTypes."application/atom"]
- suffixes = ["xml"]
+ [mediaTypes."application/atom"]
+ suffixes = ["xml"]
+ [mediaTypes."text/gemini"]
+ suffixes = ["gmi"]
-[outputFormats.Atom]
- mediaType = "application/atom"
- baseName = "atom"
- isPlainText = false
+[outputFormats]
+ [outputFormats.Atom]
+ mediaType = "application/atom"
+ baseName = "atom"
+ isPlainText = false
+ [outputFormats.Gemini]
+ protocol = "gemini://"
+ mediaType = "text/gemini"
+ isPlainText = true
+ isHTML = false
[markup]
[markup.goldmark]
@@ -59,4 +66,5 @@ rssLimit = 20
linkify = false
[outputs]
- home = ["HTML", "Atom"]
+ home = ["HTML", "Gemini", "Atom"]
+ page = ["HTML", "Gemini"]
diff --git a/themes/journal b/themes/journal
-Subproject 290401a89ec4d6c877452ea8d8fb4a70b76c84c
+Subproject 7aa9bdd5653fb01539e032f89d081aefccd25b5