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 expect the French (main language) to link to root/genres, and the English secondary language to link to root/en/genres
Current Behavior
The English version leads also to root/genres just like the French version. Which, for the user, looks like he falls back to French.
Step to reproduce
Since my other taxonomies (tags and authors) don't have the same problem and I investigated a little, I suspect it's the en in the taxonomy (genres) that causes the problem.
I'd bet it messes up a regex somewhere in the get_url macro.
The text was updated successfully, but these errors were encountered:
There probably does need to be a way of mapping an internal path to an external URL. i.e. just like get_link(path="@/...") but works with more then just md files. And probably without requiring string concatenation.
Bug Report
Environment
Zola version: 0.19.2
Expected Behavior
If I write (in a template but probably in most places)
I expect the French (main language) to link to root/genres, and the English secondary language to link to root/en/genres
Current Behavior
The English version leads also to root/genres just like the French version. Which, for the user, looks like he falls back to French.
Step to reproduce
Since my other taxonomies (tags and authors) don't have the same problem and I investigated a little, I suspect it's the
en
in the taxonomy (genres) that causes the problem.I'd bet it messes up a regex somewhere in the get_url macro.
The text was updated successfully, but these errors were encountered: