commit a735197a384c94839d18a1b9e34e575536feda11 from: Thomas Böhler date: Fri Jan 3 14:56:46 2025 UTC Revert "Add support for gemini" Looks like I don't really care for gemini after all and the "support" for it implemented is really subpar; I'm not willing to write my articles *twice*. I'll look into this again when I feel like it. This reverts commit 2c1cf0b194641147a42d125952618979c4b2f948. commit - 6c13fce3452d9a1ce8f1d1156e688959dccb1d35 commit + a735197a384c94839d18a1b9e34e575536feda11 blob - cda1a549e07ba7a7f573ff323bbc29822a5331e0 blob + 4fe7fec91d66313b4dc8b76a4d54a36119ca659c --- config.toml +++ config.toml @@ -12,24 +12,10 @@ hugo_site = "https://whynothugo.nl/" [pagination] pagerSize = 5 -[outputFormats] -[outputFormats.GEMINI] -name = "GEMINI" -isPlaintext = true -isHTML = false -mediaType = "text/gemini" -protocol = "gemini://" -permalinkable = true - [outputs] -home = ["HTML", "RSS", "GEMINI"] -# only output HTML by default. gemini is opt-in +home = ["HTML", "RSS"] page = ["HTML"] -[mediaTypes] -[mediaTypes."text/gemini"] -suffixes = ["gmi"] - [markup.goldmark.renderer] unsafe = true blob - e34c2d4066fc4337f59062064979da7f0fc8c704 (mode 644) blob + /dev/null --- layouts/_default/single.gmi +++ /dev/null @@ -1,3 +0,0 @@ -# {{ .Title }} - -{{ .RawContent }} blob - fda8536cce3490a1d04ad55a7ab1b4b7a1138853 (mode 644) blob + /dev/null --- layouts/index.gmi +++ /dev/null @@ -1,7 +0,0 @@ -## Posts grouped by year - -{{ range (where .Site.RegularPages "Section" "blog") }} -{{- if .OutputFormats.Get "GEMINI" }} -=> {{ .Permalink }} {{ .Title }} -{{- end }} -{{- end }}