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:
Bjørn Erik Pedersen
2020-02-21 09:02:07 +01:00
parent 4c2a0de412
commit f460530347
5 changed files with 84 additions and 47 deletions

View File

@@ -723,6 +723,7 @@ Loop:
if err := meta.setMetadata(bucket, p, m); err != nil {
return err
}
frontMatterSet = true
next := iter.Peek()