Gemini footer
This commit is contained in:
14
themes/v2/layouts/_default/baseof.gmi
Normal file
14
themes/v2/layouts/_default/baseof.gmi
Normal file
@@ -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
|
||||
@@ -1,5 +1,7 @@
|
||||
{{- define "main" -}}
|
||||
# {{ strings.ToLower .Title }}
|
||||
|
||||
{{ range .RegularPages -}}
|
||||
=> {{ .RelPermalink | replaceRE `index.gmi` "" }} {{ .Title }}
|
||||
{{ end -}}
|
||||
{{- end -}}
|
||||
|
||||
@@ -1,2 +1,4 @@
|
||||
{{- define "main" -}}
|
||||
# {{ .Title }}
|
||||
{{ partial "gemtext.gmi" (dict "content" .RawContent "page" $.Page) }}
|
||||
{{- end -}}
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
{{- define "main" -}}
|
||||
# {{ .Title }}
|
||||
|
||||
{{ range .RegularPages -}}
|
||||
=> {{ .RelPermalink | replaceRE `index.gmi` "" }} {{ .Title }}
|
||||
{{ end -}}
|
||||
{{- end -}}
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
{{- define "main" -}}
|
||||
# {{ .Title }}
|
||||
|
||||
{{ range .Data.Terms.Alphabetical -}}
|
||||
=> {{ .Page.RelPermalink | replaceRE `index.gmi` "" }} {{ .Page.Title }}
|
||||
{{ end -}}
|
||||
{{- end -}}
|
||||
|
||||
@@ -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 -}}
|
||||
|
||||
@@ -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 -}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user