Gemini homepage
This commit is contained in:
@@ -1,8 +1,13 @@
|
||||
{{- define "main" -}}
|
||||
# David Eisinger
|
||||
|
||||
{{ partial "gemtext.gmi" (dict "content" .RawContent "page" $.Page) }}
|
||||
{{ range (where .Site.RegularPages "Type" "in" "journal") -}}
|
||||
{{ partial "gemtext.gmi" (dict "content" .RawContent "page" $.Page) -}}
|
||||
|
||||
## Recent Posts
|
||||
|
||||
{{ range first 10 (where .Site.RegularPages "Type" "in" "journal") -}}
|
||||
=> {{ .RelPermalink | replaceRE `index.gmi` "" }} {{ .Title }}
|
||||
{{ end -}}
|
||||
{{ end }}
|
||||
|
||||
=> /journal/ All Posts
|
||||
{{- end -}}
|
||||
|
||||
Reference in New Issue
Block a user