Skip to content

Config with non-set value (field =) in docs is not clear #1490

Open
@rootkea

Description

@rootkea

Hello!

As per https://www.getzola.org/documentation/content/section/#front-matter these are the default values for _index.md and so I expected them to just work:

redirect_to = 
page_template =

But on latest next I get:

$ ../zola/target/debug/zola serve -O
Building site...
Error: Error when parsing front matter of section `<snip>/content/foo/_index.md`
Reason: expected a value, found a newline at line 24 column 16
$

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions