From 09f743f976e3f5c2f4e414f2a5dda420daec9f5e Mon Sep 17 00:00:00 2001 From: soul9 Date: Sun, 2 Apr 2017 18:03:37 +0200 Subject: [PATCH] fix(menu): show only "real" posts and not "dynamic" pages in most recent posts When there are few pages in the site, .Site.Pages will show also some dynamically generated taxonomy pages in the most recent posts section of the menu (along with some entirely broken links). .Site.RegularPages will only display the regular pages instead of displaying all pages in the site. --- layouts/partials/menu.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/menu.html b/layouts/partials/menu.html index cd5ec71..5af3727 100644 --- a/layouts/partials/menu.html +++ b/layouts/partials/menu.html @@ -3,7 +3,7 @@

{{ .Site.Title }} - {{ ( index $.Site.Data.translations $.Site.Params.locale ).mostrecentposts }}