From 4b768d9da41ea7ddfa8cceb71f2452c2b26552d6 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Thu, 19 Jan 2017 15:08:55 +0200 Subject: [PATCH] layouts/partials/sidebar.html: Use .Site.RegularPages instead of .Site.Pages As of Hugo 0.18 .Site.Pages now returns all pages, including pages, home, taxonomies, etc, and you are expected to filter them by their "kind". There is a new variable .Site.RegularPages which returns a range of "regular" pages like in pre-0.18 Hugo. In this instance we are limiting the range to pages with the type "post", so our current behavior works, but I'd rather be consistent with other ranges we're using, like on the homepage and taxonomy list pages. See: https://github.com/spf13/hugo/releases/tag/v0.18 --- layouts/partials/sidebar.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index 02bc92f..70c19e1 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -12,7 +12,7 @@