You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to zola serve a site where one of the pages is missing frontmatter (in my case because I hadn't saved the file yet) results in an ugly panic message instead of an easy to read error message like most other error conditions.
Environment
Zola version: 0.13.0
Expected Behavior
An easier to read error message should be produced, and zola serve should not exit, instead retrying when the file changes.
Current Behavior
thread 'main' panicked at 'error deserialising page: Error { kind: Msg("Couldn\'t find front matter in `/home/jplatte/Projekte/blog.turbo.fish/content/proc-macro-intro.md`. Did you forget to add `+++` or `---`?"), source: None }', components/site/src/lib.rs:264:22
Step to reproduce
Create a site with an empty .md file in content
Run zola serve
The text was updated successfully, but these errors were encountered:
Bug Report
Trying to
zola serve
a site where one of the pages is missing frontmatter (in my case because I hadn't saved the file yet) results in an ugly panic message instead of an easy to read error message like most other error conditions.Environment
Zola version: 0.13.0
Expected Behavior
An easier to read error message should be produced, and
zola serve
should not exit, instead retrying when the file changes.Current Behavior
Step to reproduce
.md
file incontent
zola serve
The text was updated successfully, but these errors were encountered: