gemini: generate taxonomy pages

This commit is contained in:
John Bowdre 2024-03-03 15:00:03 -06:00
parent 60d916261e
commit 1e8979e840
2 changed files with 11 additions and 1 deletions

View file

@ -19,7 +19,7 @@ enableInlineShortcodes = true
home = ['html', 'rss', 'gemini'] home = ['html', 'rss', 'gemini']
section = ['html'] section = ['html']
taxonomy = ['html'] taxonomy = ['html']
term = ['html', 'rss'] term = ['html', 'rss', 'gemini']
page = ['html', 'rss', 'gemini'] page = ['html', 'rss', 'gemini']
# rename rss output from index.xml to feed.xml # rename rss output from index.xml to feed.xml

10
layouts/_default/list.gmi Normal file
View file

@ -0,0 +1,10 @@
=> / 💻 [runtimeterror $]
# {{ .Title }}
{{- range .Pages }}
=> {{ .RelPermalink }} {{ .Date.Format "2006-01-02" }} {{ .Title }}
{{- end }}
---
=> / Home
=> https://runtimeterror.dev{{ replace (replace .RelPermalink "/gemini" "" 1) "index.gmi" "" }} This article on the big web