summaryrefslogtreecommitdiff
path: root/layouts/index.gmi
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/index.gmi')
-rw-r--r--layouts/index.gmi8
1 files changed, 6 insertions, 2 deletions
diff --git a/layouts/index.gmi b/layouts/index.gmi
index 1b66945..a15154c 100644
--- a/layouts/index.gmi
+++ b/layouts/index.gmi
@@ -3,13 +3,17 @@
{{ .Site.Params.indexIntro | safeHTML }}
+{{- if .Site.Menus.main }}
+
## {{ i18n "navLinks" }}
+{{ range .Site.Menus.main }}
+=> {{ .URL }} {{ emojify ":link:" | safeHTML }} {{ .Name | safeHTML -}}
+{{ end -}}
-{{ range .Site.Menus.main -}}
-=> {{ .URL }} {{ emojify ":link:" | safeHTML }} {{ .Name | safeHTML }}
{{ end }}
+
## {{ i18n "journalEntries" -}}
{{ range (where .Site.RegularPages.ByTitle "Section" "entry").ByPublishDate.Reverse }}