aboutsummaryrefslogtreecommitdiffhomepage
path: root/hugolib/page__meta.go
diff options
context:
space:
mode:
Diffstat (limited to 'hugolib/page__meta.go')
-rw-r--r--hugolib/page__meta.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/page__meta.go b/hugolib/page__meta.go
index 082e3145a..8c148923d 100644
--- a/hugolib/page__meta.go
+++ b/hugolib/page__meta.go
@@ -523,7 +523,7 @@ params:
// pages.
isHeadless := cast.ToBool(v)
params[loki] = isHeadless
- if p.File().TranslationBaseName() == "index" && isHeadless {
+ if isHeadless {
pm.pageConfig.Build.List = pagemeta.Never
pm.pageConfig.Build.Render = pagemeta.Never
}