hugolib: Add basic setup for output def per Kind

This commit is contained in:
Bjørn Erik Pedersen
2017-03-07 14:20:39 +01:00
parent 03122e51fa
commit f091fc23ed
6 changed files with 109 additions and 8 deletions

View File

@@ -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