summaryrefslogtreecommitdiffstats
path: root/hugolib/site.go
diff options
context:
space:
mode:
Diffstat (limited to 'hugolib/site.go')
-rw-r--r--hugolib/site.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/hugolib/site.go b/hugolib/site.go
index b3825a9bb..2a9db1abe 100644
--- a/hugolib/site.go
+++ b/hugolib/site.go
@@ -1642,6 +1642,10 @@ func (s *Site) kindFromSections(sections []string) string {
return KindSection
}
+func (s *Site) layouts(p *PageOutput) []string {
+ return s.layoutHandler.For(p.layoutIdentifier, "", p.outputType)
+}
+
func (s *Site) preparePages() error {
var errors []error