Skip to content

Conversation

senekor
Copy link
Contributor

@senekor senekor commented Apr 17, 2025

Previously, if blog authors didn't set the path key in the front matter, the error message from Zola was:

Filter nth received an incorrect type for arg n: got -2 but expected a usize

This is misleading, as it doesn't point out the cause of the problem. The new error message makes authors aware of the required path format.

Previously, if blog authors didn't set the path key in the front matter,
the error message from Zola was:

Filter `nth` received an incorrect type for arg `n`: got `-2` but expected a usize

This is misleading, as it doesn't point out the cause of the problem.
The new error message makes authors aware of the required path format.
@senekor
Copy link
Contributor Author

senekor commented Apr 17, 2025

this was reported here

@senekor senekor requested a review from Manishearth April 17, 2025 08:38
@Manishearth Manishearth merged commit 3290fc7 into master Apr 17, 2025
5 checks passed
@Manishearth Manishearth deleted the senekor/zrzlnywulxms branch April 17, 2025 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants