diff options
Diffstat (limited to 'hugolib/page.go')
-rw-r--r-- | hugolib/page.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/page.go b/hugolib/page.go index 390df8070..4e9ea2e78 100644 --- a/hugolib/page.go +++ b/hugolib/page.go @@ -859,7 +859,7 @@ func (p *Page) RelPermalink() string { func (p *Page) initURLs() error { // TODO(bep) output if len(p.outputFormats) == 0 { - p.outputFormats = p.s.defaultOutputDefinitions.ForKind(p.Kind) + p.outputFormats = p.s.outputFormats[p.Kind] } rel := p.createRelativePermalink() p.permalink = p.s.permalink(rel) |