mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-29 22:29:56 +02:00
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
This commit is contained in:
@@ -723,6 +723,7 @@ Loop:
|
||||
if err := meta.setMetadata(bucket, p, m); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
frontMatterSet = true
|
||||
|
||||
next := iter.Peek()
|
||||
|
Reference in New Issue
Block a user