From 6e9cc2a184805f6b3de073e4e96986c1f7d6e427c7baae9220313fde34b7dc0f Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Fri, 25 Aug 2023 00:00:00 +0000 Subject: Correctly handle absent navlinks --- layouts/index.html | 2 ++ 1 file changed, 2 insertions(+) (limited to 'layouts/index.html') diff --git a/layouts/index.html b/layouts/index.html index d49b710..f2e757c 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -2,6 +2,7 @@

{{ .Site.Params.indexTitle }}

{{ .Site.Params.indexIntro }}

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

{{ i18n "navLinks" }}

+ {{ end -}}

{{ i18n "journalEntries" }}

{{ range (where .Site.RegularPages.ByTitle "Section" "entry").ByPublishDate.Reverse -}} {{ partial "metadata.html" . }} -- cgit v1.2.3