summaryrefslogtreecommitdiff
path: root/layouts/index.gmi
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/index.gmi')
-rw-r--r--layouts/index.gmi4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/index.gmi b/layouts/index.gmi
index b97ef74..8ace600 100644
--- a/layouts/index.gmi
+++ b/layouts/index.gmi
@@ -6,11 +6,11 @@
{{ .Site.Params.indexIntro | safeHTML }}
{{- end }}
-## Navigation Links
+## {{ i18n "navLinks" }}
{{ range .Site.Menus.main -}}
=> {{ .URL }} {{ emojify ":link:" | safeHTML }} {{ .Name | safeHTML }}
{{ end }}
-## Journal Entries
+## {{ i18n "journalEntries" }}
{{ $entriesMinusOne := sub (len (where .Site.RegularPages.ByTitle "Section" "entry")) 1 -}}
{{ range first $entriesMinusOne (where .Site.RegularPages.ByTitle "Section" "entry").ByPublishDate.Reverse -}}
{{ partial "metadata.gmi" . }}