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
I had to edit generate_feed = true to generate_feeds = true
however after doing so I see the following errors:
Error: Failed to serve the site
Error: Failed to render page '/home/jieiku/.dev/abridge/content/pages/contact.md'
Error: Reason: Failed to render 'pages.html' (error happened in 'base.html').
Error: Reason: Test call 'containing' failed
Error: Reason: Tester `containing` was called on an undefined variable
If I set generate_feeds = false then the site builds fine.
I assume this is related to this: #2477 but I cannot say for sure. I am not using a custom feed template, I have always just let it build the feed using the default template.
Environment
Zola version: 0.19.0
Expected Behavior
the site to build or serve, or maybe to give a more detailed error.
Current Behavior
env RUST_BACKTRACE=1 ~/zola serve
Building site...
Checking all internal links with anchors.
> Successfully checked 7 internal link(s) with anchors.
-> Creating 29 pages (4 orphan) and 13 sections
Error: Failed to serve the site
Error: Failed to render section '/home/jieiku/.dev/abridge/content/archive/_index.md'
Error: Reason: Failed to render 'archive.html' (error happened in 'base.html').
Error: Reason: Test call 'containing' failed
Error: Reason: Tester `containing` was called on an undefined variable
Jieiku
changed the title
Zola 0.18 to 0.19 no longer builds/serves if I enable feeds.
Zola 0.19 no longer builds/serves if I enable feeds.
Jun 21, 2024
You have a bunch of {% if config.feed_filename is containing('atom') %} but it's now config.feed_filenames and is an array.
Relevant lines from the Changelog:
Changed config options named generate_feed to generate_feeds (both in config.toml and in section front-matter)
Changed config option feed_filename: String to feed_filenames: Vec<String>
Bug Report
feeds worked fine with 0.18
I had to edit
generate_feed = true
togenerate_feeds = true
however after doing so I see the following errors:
If I set
generate_feeds = false
then the site builds fine.I assume this is related to this: #2477 but I cannot say for sure. I am not using a custom feed template, I have always just let it build the feed using the default template.
Environment
Zola version: 0.19.0
Expected Behavior
the site to build or serve, or maybe to give a more detailed error.
Current Behavior
Step to reproduce
git clone https://github.com/Jieiku/abridge
cd abridge
edit config.toml replacing occurrances of
generate_feed = true
withgenerate_feeds = true
zola serve
zola build
The text was updated successfully, but these errors were encountered: