davideisinger.com

My personal website
Log | Files | Refs | README

commit 555f7f9d688eb7ebc09a37bee5fec5c3e3794539
parent 118e61e010b0046eff8b7c6a7fb2631b78c2e7d2
Author: David Eisinger <[email protected]>
Date:   Sun, 16 Feb 2025 02:17:09 -0500

Add list pages

Diffstat:
Mconfig.toml | 3+++
Athemes/v2/layouts/_default/list.gmi | 5+++++
Athemes/v2/layouts/_default/tag.gmi | 5+++++
Athemes/v2/layouts/_default/tag.terms.gmi | 5+++++
4 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/config.toml b/config.toml @@ -42,3 +42,6 @@ permalinkable = true [outputs] home = ["HTML", "RSS", "GEMINI"] page = ["HTML", "GEMINI"] +section = ["HTML", "GEMINI"] +taxonomy = ["HTML", "GEMINI"] +term = ["HTML", "GEMINI"] diff --git a/themes/v2/layouts/_default/list.gmi b/themes/v2/layouts/_default/list.gmi @@ -0,0 +1,5 @@ +# {{ strings.ToLower .Title }} + +{{ range .RegularPages -}} +=> {{ .RelPermalink | replaceRE `index.gmi` "" }} {{ .Title }} +{{ end -}} diff --git a/themes/v2/layouts/_default/tag.gmi b/themes/v2/layouts/_default/tag.gmi @@ -0,0 +1,5 @@ +# {{ .Title }} + +{{ range .RegularPages -}} +=> {{ .RelPermalink | replaceRE `index.gmi` "" }} {{ .Title }} +{{ end -}} diff --git a/themes/v2/layouts/_default/tag.terms.gmi b/themes/v2/layouts/_default/tag.terms.gmi @@ -0,0 +1,5 @@ +# {{ .Title }} + +{{ range .Data.Terms.Alphabetical -}} +=> {{ .Page.RelPermalink | replaceRE `index.gmi` "" }} {{ .Page.Title }} +{{ end -}}