v0.1.3 Release
Pre-release
Pre-release
Refer to the official changelog for more info.
- Added config property validation. Blitz will now check the config for required properties and add them using default values if said properties are missing, or throw an error if the type of the property is invalid.
- Made
contentfor pages optional. Ifcontentis empty, Blitz is just going to render the file specified intemplateas if thecontentpointed to an empty file. Keep in mind, sinceuriis also optional you can now create pages using only 1 line, like so:
`yamlIn the config:
pages:- template: 'index.pug'
- template: 'help.pug'
`