I've checked the code of the plugin to find out why and how to solve it but I couldn't be confident enough to implement a change. I think this comes from the way the globs are generated. I mean, during scanning the about/team/nikola-tesla.rst is encountered before about/team.html (because rst comes before html in conf.py) and sets an incorrect slug for about/team. Maybe scanning level-by-level first would solve the issue.
In the example given for this extension, change the extensions of the files for the
/about/team/
page tohtml
:Now when you run
nikola build
you get the following URLs in the German section:I've checked the code of the plugin to find out why and how to solve it but I couldn't be confident enough to implement a change. I think this comes from the way the globs are generated. I mean, during scanning the
about/team/nikola-tesla.rst
is encountered beforeabout/team.html
(becauserst
comes beforehtml
inconf.py
) and sets an incorrect slug forabout/team
. Maybe scanning level-by-level first would solve the issue.