Community Packages

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!
Tasklist

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
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Caleb Maclennan (alerque)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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

Closed by  Toolybird (Toolybird)
Friday, 24 February 2023, 02:49 GMT
Reason for closing:  Upstream
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.

Loading...