Skip to content

Some translation links broken #901

Closed
@sake92

Description

@sake92

I mentioned here that there is an issue with links to tour translations.
E.g. if you go to basics and choose Bosnian, you'll get a 404: /ba/tour/sics.html instead of /ba/tour/basics.html

Issue seems to be here. The remove_first: l seems to be removing the "ba" part. Also happens for other languages, e.g. "Classes" for Spanish (removes "es"). xD

I made this issue to ask if there is anyone here who worked on this, will removing this break something I don't know? 😄 Another fix could be to remove "/ba" or "ba/" if that would be more precise...

BTW, I'm making an sbt plugin in Scala that could be an alternative to Jekyll in future (relative links are trivial here, no markup, just plain Scala).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions