summaryrefslogtreecommitdiffstats
path: root/hugolib/content_map.go
diff options
context:
space:
mode:
Diffstat (limited to 'hugolib/content_map.go')
-rw-r--r--hugolib/content_map.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/hugolib/content_map.go b/hugolib/content_map.go
index 7b28965ac..3c57fffcf 100644
--- a/hugolib/content_map.go
+++ b/hugolib/content_map.go
@@ -796,11 +796,11 @@ func newContentTreeFilter(fn func(n *contentNode) bool) contentTreeNodeCallback
}
var (
- contentTreeNoListFilter = func(s string, n *contentNode) bool {
+ contentTreeNoListAlwaysFilter = func(s string, n *contentNode) bool {
if n.p == nil {
return true
}
- return n.p.m.noList()
+ return n.p.m.noListAlways()
}
contentTreeNoRenderFilter = func(s string, n *contentNode) bool {
@@ -814,7 +814,7 @@ var (
func (c *contentTree) WalkQuery(query pageMapQuery, walkFn contentTreeNodeCallback) {
filter := query.Filter
if filter == nil {
- filter = contentTreeNoListFilter
+ filter = contentTreeNoListAlwaysFilter
}
if query.Prefix != "" {
c.WalkPrefix(query.Prefix, func(s string, v interface{}) bool {