ropensci-review-tools / babelquarto

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

[BLOG] Language switch button in blog posts #26

Closed beatrizmilz closed 2 months ago

beatrizmilz commented 7 months ago

Hi @maelle !

I noticed that when we have dirs inside the posts folder (like in this example), it does not show the language switching link in the post.

I'm trying to fix that. So far, I have made this change:

But now, the link appears, but the URL is not correct. Ex:

docs/posts/2019-08-12-tidydevday//en/index.html

(I'm testing locally)

The correct link should be:

docs/en/posts/2019-08-12-tidydevday/index.en.html

I'm still trying to figure this out, so I leave this PR as a draft :)

maelle commented 5 months ago

@beatrizmilz thank you!! I'm realizing I have little time to spend on babelquarto websites since it is not my use case. Would you agree to get write access to this repository, and be listed as an author, so you'd be able to merge your own changes? I could still review if you want me to.

maelle commented 3 months ago

@beatrizmilz friendly reminder :smile_cat:

maelle commented 2 months ago

This might actually be covered by #33.