Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#77621 - [zola] 0.17.0 fails to serve/build site with recommended index files in content
Attached to Project:
Community Packages
Opened by la Fleur (lafleur) - Thursday, 23 February 2023, 01:08 GMT
Last edited by Toolybird (Toolybird) - Friday, 24 February 2023, 02:49 GMT
Opened by la Fleur (lafleur) - Thursday, 23 February 2023, 01:08 GMT
Last edited by Toolybird (Toolybird) - Friday, 24 February 2023, 02:49 GMT
|
Details## Description
Zola 0.17.0 fails to build/serve a site if it contains a `content/index.md` or `content/_index.md` file and a subproject, even though it is part of the recommended setup. I don't expect a solution here, I just want to mention the workaround, and the upstream issue : https://github.com/getzola/zola/issues/2101 ## Error log ``` $ zola build Building site... Error: Failed to serve the site Error: We can't have a page called `index.md` in the same folder as an index section in "/.../lafleur.presentmatter.one/content" ``` ## Additional info - Zola 0.16.0 is not affected. As a workaround, downgrade the package. ## Steps to reproduce ``` $ zola init test (press enter a few times) $ cd test $ echo --- >> content/_index.md $ echo --- >> content/_index.md $ mkdir content/test $ echo --- >> content/test/index.md $ echo --- >> content/test/index.md $ zola serve ``` |
This task depends upon
Comment by Sven-Hendrik Haase (Svenstaro) -
Thursday, 23 February 2023, 23:27 GMT
Well this seemz to clearly be an upstream bug that they are already aware of right? If so, no need to track this here.
Comment by Toolybird (Toolybird) -
Friday, 24 February 2023, 02:49 GMT
Yeah, new release containing fix seems imminent. Closing.