aboutsummaryrefslogtreecommitdiffhomepage
path: root/hugolib/page__common.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2019-08-09 10:05:22 +0200
committerBjørn Erik Pedersen <[email protected]>2019-08-10 20:07:42 +0200
commitbd98182dbde893a8a809661c70633741bbf63911 (patch)
treeb6291cffa6c2e573a0976a0d70aa467c7a101012 /hugolib/page__common.go
parente88d7989907108b656eccd92bccc076be72a5c03 (diff)
downloadhugo-bd98182dbde893a8a809661c70633741bbf63911.tar.gz
hugo-bd98182dbde893a8a809661c70633741bbf63911.zip
Implement cascading front matter
Fixes #6041
Diffstat (limited to 'hugolib/page__common.go')
-rw-r--r--hugolib/page__common.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/hugolib/page__common.go b/hugolib/page__common.go
index cf554bb40..b13a71a40 100644
--- a/hugolib/page__common.go
+++ b/hugolib/page__common.go
@@ -35,6 +35,9 @@ type pageCommon struct {
// Laziliy initialized dependencies.
init *lazy.Init
+ metaInit sync.Once
+ metaInitFn func(bucket *pagesMapBucket) error
+
// All of these represents the common parts of a page.Page
maps.Scratcher
navigation.PageMenusProvider