diff options
Diffstat (limited to 'layouts/section.gmi')
| -rw-r--r-- | layouts/section.gmi | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/layouts/section.gmi b/layouts/section.gmi new file mode 100644 index 0000000..2bfee90 --- /dev/null +++ b/layouts/section.gmi @@ -0,0 +1,22 @@ +{{ define "main" -}} +=> {{ .Site.Home.RelPermalink | strings.TrimSuffix "index.gmi" }} {{ emojify ":link:" }} {{ i18n "returnHome" }} + + +# {{ .Title }} +{{- with .OutputFormats.Get "Gemini_Atom" }} + + +## {{ i18n "feeds" }} + +=> {{ .RelPermalink }} {{ emojify ":link:" }} {{ i18n "atomFeed" }} +{{- end }} +{{- with .Pages.ByPublishDate.Reverse }} + + +## {{ i18n "journalEntries" -}} +{{ range . }} + +{{ partial "metadata.gmi" . -}} +{{ end -}} +{{ end -}} +{{ end }} |
