mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-21 21:35:28 +02:00
Allow headless bundles to list pages via $page.Pages and $page.RegularPages
Fixes #7075
This commit is contained in:
@@ -1021,7 +1021,7 @@ func printStringIndexes(s string) {
|
||||
}
|
||||
|
||||
func isCI() bool {
|
||||
return os.Getenv("CI") != "" && os.Getenv("CIRCLE_BRANCH") == ""
|
||||
return (os.Getenv("CI") != "" || os.Getenv("CI_LOCAL") != "") && os.Getenv("CIRCLE_BRANCH") == ""
|
||||
}
|
||||
|
||||
// See https://github.com/golang/go/issues/19280
|
||||
|
Reference in New Issue
Block a user