From 5a02cbfd95267674ae3778f5319204fa0179e03620cad653aba33d7246d42846 Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Sat, 30 Apr 2022 00:00:00 +0000 Subject: Generate Gemini --- config.toml | 24 ++++++++++++++++-------- themes/journal | 2 +- 2 files changed, 17 insertions(+), 9 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 index 290401a..7aa9bdd 160000 --- a/themes/journal +++ b/themes/journal @@ -1 +1 @@ -Subproject commit 290401a89ec4d6c877452ea8d8fb4a70b76c84c64a20d8e2fd2b6351337f0a7c +Subproject commit 7aa9bdd5653fb01539e032f89d081aefccd25b578dc9de9626d06e4e6dd8bb29 -- cgit v1.2.3