ropensci-review-tools / babelquarto

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

feat: add "alternate" links to head #50

Closed maelle closed 3 months ago

maelle commented 5 months ago

Fix #49

maelle commented 5 months ago

Here's what I get for the boilerplate book, in head:

<link rel="alternate" hreflang="en" href="https://example.com/summary.html" />
<link rel="alternate" hreflang="es" href="https://example.com/es/summary.es.html" />
<link rel="alternate" hreflang="fr" href="https://example.com/fr/summary.fr.html" />
ntluong95 commented 5 months ago

Hi Maelle,

Thank you for your work. Could you please tell how I can pull the PR and do the test?

maelle commented 5 months ago

@ntluong95 pak::pak("ropensci-review-tools/babelquarto@crossrefs") might be the easiest solution, it will install babelquarto from this branch.

maelle commented 5 months ago

@ntluong95 did you get a chance to try it out?

maelle commented 3 months ago

Feedback still welcome after I merge.