diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2019-08-09 11:05:22 +0300 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2019-08-10 21:07:42 +0300 |
commit | bd98182dbde893a8a809661c70633741bbf63911 (patch) | |
tree | b6291cffa6c2e573a0976a0d70aa467c7a101012 /hugolib/page.go | |
parent | e88d7989907108b656eccd92bccc076be72a5c03 (diff) |
Implement cascading front matter
Fixes #6041
Diffstat (limited to 'hugolib/page.go')
-rw-r--r-- | hugolib/page.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hugolib/page.go b/hugolib/page.go index 8dda33009..306ca7b0f 100644 --- a/hugolib/page.go +++ b/hugolib/page.go @@ -520,7 +520,7 @@ func (p *pageState) addResources(r ...resource.Resource) { p.resources = append(p.resources, r...) } -func (p *pageState) mapContent(meta *pageMeta) error { +func (p *pageState) mapContent(bucket *pagesMapBucket, meta *pageMeta) error { s := p.shortcodeState @@ -563,7 +563,7 @@ Loop: } } - if err := meta.setMetadata(p, m); err != nil { + if err := meta.setMetadata(bucket, p, m); err != nil { return err } |