diff --git a/config/_default/hugo.toml b/config/_default/hugo.toml index b864e69..95426b9 100644 --- a/config/_default/hugo.toml +++ b/config/_default/hugo.toml @@ -19,7 +19,7 @@ enableInlineShortcodes = true home = ['html', 'rss', 'gemini'] section = ['html'] taxonomy = ['html'] - term = ['html', 'rss'] + term = ['html', 'rss', 'gemini'] page = ['html', 'rss', 'gemini'] # rename rss output from index.xml to feed.xml diff --git a/layouts/_default/list.gmi b/layouts/_default/list.gmi new file mode 100644 index 0000000..b138156 --- /dev/null +++ b/layouts/_default/list.gmi @@ -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 \ No newline at end of file