diff options
author | Nicholas Johnson <nick@nicksphere.ch> | 2022-04-30 00:00:00 +0000 |
---|---|---|
committer | Nicholas Johnson <nick@nicksphere.ch> | 2022-04-30 00:00:00 +0000 |
commit | 5a02cbfd95267674ae3778f5319204fa0179e03620cad653aba33d7246d42846 (patch) | |
tree | fc8c18cc12f5f16f4eb964711a649ef10d2940e48159825419f024fed811fa36 | |
parent | 43ea1d8ae931cfafe9a921c71e40c1a2c13804701d3166ce16c4778a02b4e07b (diff) | |
download | journal-5a02cbfd95267674ae3778f5319204fa0179e03620cad653aba33d7246d42846.tar.gz journal-5a02cbfd95267674ae3778f5319204fa0179e03620cad653aba33d7246d42846.zip |
Generate Gemini
-rw-r--r-- | config.toml | 24 | ||||
m--------- | themes/journal | 0 |
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 |