getzola / zola

A fast static site generator in a single binary with everything built-in. https://www.getzola.org
https://www.getzola.org
MIT License
14.2k stars 970 forks source link

won't generate atom.xml or rss.xml feeds #2687

Closed brianmay closed 2 weeks ago

brianmay commented 2 weeks ago

Bug Report

Environment

Zola version: 0.18.0

Expected Behavior

Latest config:

generate_feeds = true
feed_filenames = ["atom.xml", "rss.xml", "woof.xml"]
taxonomies = [
    { name = "tags", generate_feeds = true },
]

After running "zola build" I can't see any *.xml files except for sitemap.xml.

I added the woof.xml expecting to see an error because I don't have the template file. I didn't get any error. If I remove it I nothing changes.

I believe all post entries have dates. But I added some by hand just to be sure.

Current Behavior

I expected to see an automatically generated rss/atom file in the public directory after running zola build.

Suspect there is some requirement missing from the documentation. Or maybe I missed something.

Step to reproduce

https://github.com/brianmay/penguin_brian

(note the config is slightly different)

brianmay commented 2 weeks ago

Somewhere I got confused, and thought I had the latest stable version. But I didn't. The latest version is 0.19.2, which appears to work better.

Closing.

brianmay commented 2 weeks ago

In case anyone is copying from my bug report:

taxonomies = [
    { name = "tags", generate_feeds = true },
]

That is wrong, should be:

taxonomies = [
    { name = "tags", feed = true },
]