From 8ef779e0fa51efe080b62d02c9684029a38858b1 Mon Sep 17 00:00:00 2001 From: Alexis Tacnet Date: Tue, 27 Jun 2017 16:11:46 +0200 Subject: [PATCH] Hotfix: Hugo v0.22 and nested sections --- layouts/partials/header.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index f328f43..99dff7e 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -19,7 +19,7 @@ {{ if ne (len (where .Site.RegularPages "Section" "blog")) 0 }}
  • Blog
  • {{ end }} - {{ range .Site.Sections }} + {{ range $.Site.Home.Sections }} {{ range first 1 (where .Pages "Section" "ne" "")}} {{ if ne .Section "blog"}}
  • {{ .Section }}