aboutsummaryrefslogtreecommitdiffhomepage
path: root/hugolib/page__new.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2024-02-03 13:09:53 +0100
committerBjørn Erik Pedersen <[email protected]>2024-02-03 15:07:59 +0100
commit058f230a1be1abaf589b5a194ef6ec12d14c4021 (patch)
tree92d84e4e453c3e66075553445e09d78b3ae92d5d /hugolib/page__new.go
parenta66480f70c1ac734ba5af035e626d29ffcde157d (diff)
downloadhugo-058f230a1be1abaf589b5a194ef6ec12d14c4021.tar.gz
hugo-058f230a1be1abaf589b5a194ef6ec12d14c4021.zip
Detect now invalid path patterns in cascade
Closes #11977
Diffstat (limited to 'hugolib/page__new.go')
-rw-r--r--hugolib/page__new.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/page__new.go b/hugolib/page__new.go
index d846fe03c..818cbb5db 100644
--- a/hugolib/page__new.go
+++ b/hugolib/page__new.go
@@ -56,7 +56,7 @@ func (h *HugoSites) newPage(m *pageMeta) (*pageState, *paths.Path, error) {
return nil, nil, err
}
- if err := m.setMetaPre(pi, h.Conf); err != nil {
+ if err := m.setMetaPre(pi, h.Log, h.Conf); err != nil {
return nil, nil, m.wrapError(err, h.BaseFs.SourceFs)
}
pcfg := m.pageConfig