From bd98182dbde893a8a809661c70633741bbf63911 Mon Sep 17 00:00:00 2001 From: Bjørn Erik Pedersen Date: Fri, 9 Aug 2019 10:05:22 +0200 Subject: Implement cascading front matter Fixes #6041 --- hugolib/page__common.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'hugolib/page__common.go') 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 -- cgit v1.2.3