summaryrefslogtreecommitdiffstats
path: root/hugolib/page__common.go
diff options
context:
space:
mode:
Diffstat (limited to 'hugolib/page__common.go')
-rw-r--r--hugolib/page__common.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/hugolib/page__common.go b/hugolib/page__common.go
index 0527a0682..0069bdf89 100644
--- a/hugolib/page__common.go
+++ b/hugolib/page__common.go
@@ -20,7 +20,7 @@ import (
"github.com/gohugoio/hugo/compare"
"github.com/gohugoio/hugo/lazy"
"github.com/gohugoio/hugo/navigation"
- "github.com/gohugoio/hugo/output"
+ "github.com/gohugoio/hugo/output/layouts"
"github.com/gohugoio/hugo/resources/page"
"github.com/gohugoio/hugo/resources/resource"
"github.com/gohugoio/hugo/source"
@@ -54,6 +54,8 @@ type pageCommon struct {
s *Site
m *pageMeta
+ sWrapped page.Site
+
bucket *pagesMapBucket
treeRef *contentTreeRef
@@ -96,7 +98,7 @@ type pageCommon struct {
// should look like.
targetPathDescriptor page.TargetPathDescriptor
- layoutDescriptor output.LayoutDescriptor
+ layoutDescriptor layouts.LayoutDescriptor
layoutDescriptorInit sync.Once
// The parsed page content.