summaryrefslogtreecommitdiff
path: root/layouts/index.gmi
blob: 05250fd887c6107bf271950c81b2d8e0de5abc1fb900b2cd29246eb7e5918489 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{{ define "main" -}}
# {{ .Site.Params.indexTitle | safeHTML }}

{{ .Site.Params.indexIntro | safeHTML }}

{{- if .Site.Menus.main }}


## {{ i18n "navLinks" }}
{{ range .Site.Menus.main }}
=> {{ .URL }} {{ emojify ":link:" | safeHTML }} {{ .Name | safeHTML -}}
{{ end -}}

{{ end -}}

{{ if .Site.RegularPages }}


## {{ i18n "journalEntries" -}}
{{ range (where .Site.RegularPages.ByTitle "Section" "entry").ByPublishDate.Reverse }}

{{ partial "metadata.gmi" . -}}
{{ end -}}

{{ end -}}

{{ end }}