blob: d4c0d7d1b3fa371f8727171da4d483ecd96c9470633d875f2c4d59966321b0d5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
{{ define "main" -}}
=> / {{ emojify ":link:" | safeHTML }} Return to homepage
# {{ .Type | singularize | humanize | safeHTML }} "{{ .Title | safeHTML }}"
## Feeds
=> {{ .RelPermalink | replaceRE `(?m)index.gmi$` "atom.xml" | safeHTML }} {{ emojify ":link:" | safeHTML }} Atom Feed
## Journal Entries
{{ $entriesMinusOne := sub (len .Data.Pages) 1 -}}
{{ range first $entriesMinusOne .Data.Pages.ByPublishDate.Reverse -}}
{{ partial "metadata.gmi" . }}
{{ end -}}
{{ range last 1 .Data.Pages.ByPublishDate.Reverse -}}
{{ partial "metadata.gmi" . -}}
{{ end -}}
{{ end }}
|