davideisinger.com

My personal website
Log | Files | Refs | README

commit 340713952e215dd7d8bb23a4bf2ec8319c3469ae
parent f4f743ba2acf2dda1aa73f30ff867236640f8573
Author: David Eisinger <[email protected]>
Date:   Wed, 19 Feb 2025 01:02:53 -0500

Gemini footer

Diffstat:
Mcontent/pages/about.md | 2+-
Athemes/v2/layouts/_default/baseof.gmi | 14++++++++++++++
Mthemes/v2/layouts/_default/list.gmi | 2++
Mthemes/v2/layouts/_default/single.gmi | 2++
Mthemes/v2/layouts/_default/tag.gmi | 2++
Mthemes/v2/layouts/_default/tag.terms.gmi | 2++
Mthemes/v2/layouts/index.gmi | 2++
Mthemes/v2/layouts/music/list.gmi | 2++
8 files changed, 27 insertions(+), 1 deletion(-)

diff --git a/content/pages/about.md b/content/pages/about.md @@ -46,7 +46,7 @@ I'm available by email at [[email protected]][9]. I'd love to hear from yo You can [receive my monthly dispatches via email][10] or [add my RSS feed to your feed reader][11] (I use and recommend [Feedbin][12]). [10]: https://dispatch.davideisinger.com/subscription/form -[11]: /index.xml +[11]: https://davideisinger.com/index.xml [12]: https://feedbin.com/ --- diff --git a/themes/v2/layouts/_default/baseof.gmi b/themes/v2/layouts/_default/baseof.gmi @@ -0,0 +1,14 @@ +{{- block "main" . }}{{- end }} + +✱ ✱ ✱ + +=> https://dispatch.davideisinger.com/subscription/form Subscribe via email +=> https://davideisinger.com/index.xml Feed +=> https://davideisinger.com/about/#contact Contact + +Rendered {{ now | dateFormat "2006-01-02 15:04:05 MST" }} +{{- with site.Params.git.commit }} +=> https://git.sr.ht/~dce/davideisinger.com/commit/{{ . }} {{ . }} +{{ end -}} + +=> https://creativecommons.org/licenses/by/4.0/deed.en © CC BY 4.0 diff --git a/themes/v2/layouts/_default/list.gmi b/themes/v2/layouts/_default/list.gmi @@ -1,5 +1,7 @@ +{{- define "main" -}} # {{ strings.ToLower .Title }} {{ range .RegularPages -}} => {{ .RelPermalink | replaceRE `index.gmi` "" }} {{ .Title }} {{ end -}} +{{- end -}} diff --git a/themes/v2/layouts/_default/single.gmi b/themes/v2/layouts/_default/single.gmi @@ -1,2 +1,4 @@ +{{- define "main" -}} # {{ .Title }} {{ partial "gemtext.gmi" (dict "content" .RawContent "page" $.Page) }} +{{- end -}} diff --git a/themes/v2/layouts/_default/tag.gmi b/themes/v2/layouts/_default/tag.gmi @@ -1,5 +1,7 @@ +{{- define "main" -}} # {{ .Title }} {{ range .RegularPages -}} => {{ .RelPermalink | replaceRE `index.gmi` "" }} {{ .Title }} {{ end -}} +{{- end -}} diff --git a/themes/v2/layouts/_default/tag.terms.gmi b/themes/v2/layouts/_default/tag.terms.gmi @@ -1,5 +1,7 @@ +{{- define "main" -}} # {{ .Title }} {{ range .Data.Terms.Alphabetical -}} => {{ .Page.RelPermalink | replaceRE `index.gmi` "" }} {{ .Page.Title }} {{ end -}} +{{- end -}} diff --git a/themes/v2/layouts/index.gmi b/themes/v2/layouts/index.gmi @@ -1,6 +1,8 @@ +{{- define "main" -}} # David Eisinger {{ partial "gemtext.gmi" (dict "content" .RawContent "page" $.Page) }} {{ range (where .Site.RegularPages "Type" "in" "journal") -}} => {{ .RelPermalink | replaceRE `index.gmi` "" }} {{ .Title }} {{ end -}} +{{- end -}} diff --git a/themes/v2/layouts/music/list.gmi b/themes/v2/layouts/music/list.gmi @@ -1,3 +1,4 @@ +{{- define "main" -}} # {{ .Title }} {{ range where .Site.RegularPages "Params.exclude_music" "!=" true -}} @@ -5,4 +6,5 @@ => {{ .RelPermalink }} {{ substr .Title 0 -4 }} {{ end -}} {{ end -}} +{{- end -}}