Closed vvzen closed 3 weeks ago
We turned on the serde feature to disable all unknown fields.
Sections don't have a path
attribute on the front-matter, only pages do.
Gotcha, thanks for the swift reply and for the pointer! I was able to get things up and running again after a few tweaks to my theme, and after removing all usage of path
(which was probably just not doing anything anyway, I can imagine).
Bug Report
Environment
Zola version: v0.19.1
Expected Behavior
zola serve
works.Current Behavior
zola serve
reports an error when parsing the FrontMatter of some pages.Step to reproduce
Hi all,
My last
zola
binary was v18.0 (built from source with HEAD at 8aedec98). After updating to v19.1, I'm seeing a few changes that "broke" the generation of my website (e.g. runningzola serve
worked previously but doesn't now).A few of those were easy to catch, like
generate_feed
that becamegenerate_feeds
, andfeed_filename
that becomefeed_filenames
and should now be an array (https://github.com/getzola/zola/pull/2477).But I'm seeing other things like:
which are taking a bit more time for me to understand.
I know that in SemVer v0.* means that any breaking is technically okay, but it would still be nice to give people a way to understand how to migrate their websites to work with the latest version (I don't see anythinig like that in the changelog right now).
Do you have any ideas on what changed so that
path
stopped being supported ? I used it to provide a custom url for a specific page, with https://github.com/pawroman/zola-theme-terminimal as my theme.Thanks!
V