From 86ed54e73b7f8c86f4e3150cfae59f438820f81a14cb53958089db3bd2b61a2e Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Thu, 7 Nov 2024 00:00:00 +0000 Subject: Set Gemini protocol This avoids littering the gemtext templates with regex to change the protocol. --- config/_default/hugo.toml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config/_default/hugo.toml') diff --git a/config/_default/hugo.toml b/config/_default/hugo.toml index 7b4cc1e..da69d63 100644 --- a/config/_default/hugo.toml +++ b/config/_default/hugo.toml @@ -11,9 +11,11 @@ [outputFormats.Gemini] mediaType = "text/gemini" isPlainText = true # Disable HTML renderer + protocol = "gemini://" [outputFormats.Gemini_Atom] mediaType = "application/atom" baseName = "atom" + protocol = "gemini://" [markup] [markup.goldmark] -- cgit v1.2.3