14 lines
309 B
Gemtext
14 lines
309 B
Gemtext
{{- define "main" -}}
|
|
# David Eisinger
|
|
|
|
{{ 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 }}
|
|
|
|
=> /journal/ All Posts
|
|
{{- end -}}
|