Fix panic on no output formats
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Fri, 21 Feb 2020 08:02:07 +0000 (09:02 +0100)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Fri, 21 Feb 2020 08:41:39 +0000 (09:41 +0100)
commitf46053034759c4f9790a79e0a146dbc1b426b1ff
tree8162b999e444b887f104ffdf1ae700352860bccb
parent4c2a0de412a850745ad32e580fcd65575192ca53
Fix panic on no output formats

A page needs its output formats even if it should not be rendered or its resources should not be published.

Fixes #6924
hugolib/content_map_page.go
hugolib/disableKinds_test.go
hugolib/page.go
hugolib/page__new.go
resources/page/pagemeta/pagemeta.go