ropensci-review-tools / babelquarto

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

Title button in translated website goes to partial translation #16

Closed joelnitta closed 9 months ago

joelnitta commented 9 months ago

Using https://maelle.github.io/babelsite/ as an example:

If you click on "Version in FR", then in the French version of the webpage click "Title in FR", you end up in a space where the webpage body is in English but the header is in French (https://maelle.github.io/babelsite/fr/). It should go to https://maelle.github.io/babelsite/fr/index.fr.html instead.

maelle commented 9 months ago

I can reproduce this! Interesting that it doesn't happen for books :thinking:

maelle commented 9 months ago

sort of related https://github.com/quarto-dev/quarto-cli/issues/2065

joelnitta commented 9 months ago

I’m on Firefox on a Mac.

maelle commented 9 months ago

I tried the solution of adding an alias but that doesn't seem handy.

maelle commented 9 months ago

about.fr.html is really not a good link. I need to fix this.

maelle commented 9 months ago

Not sure how related this is but at the moment the code was rendering all files for each language, I need to change that.