Statico Source
Contents

Schemas

Validate front matter per content folder, so mistakes fail the build.

Content and data, page 17

Validate front matter per content folder. Types: string, number, bool, date, list, url, any; add ? for optional.

{ "schemas": { "posts": { "title": "string", "date": "date", "tags": "list?" } } }

A mismatch fails the build with error S201, naming the file and field.