ropensci-review-tools / babelquarto

Renders a Multilingual Quarto Project (Book or Website)
https://docs.ropensci.org/babelquarto/
Other
30 stars 6 forks source link

Links to main language not working #39

Closed EleanorLisande closed 1 month ago

EleanorLisande commented 1 month ago

Sorry in advance if I've just done something wrong with the set up as I'm very new to this!

My website has Bislama (bi) as the default language, with English as the additional language (https://eleanorlisande.github.io/VatlongosWebsite/)

But the link from the English to the Bislama version goes to the English version with /en in the url, rather than the default/Bislama page.

I wondered if this is something to do with English being the default default, and if there's anything extra I need to do to override that, beyond setting Bislama as mainlanguage and lang in the _quarto.yml document?

I've manually fixed this in the English html docs for now.

I was having an issue with duplicate links as well, and that's fixed in the most recent update :)

Thank you!

maelle commented 1 month ago

:wave: @EleanorLisande! You didn't do anything wrong, you found a bug: thanks a ton! It should be fixed by the linked PR, so please re-install babelquarto when  #40 is merged and tell me whether it worked for you. Thanks again!!

EleanorLisande commented 1 month ago

It works great thank you! :)