ropensci-review-tools / babelquarto

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

feat: add "alternate" links to head #50

Open maelle opened 1 week ago

maelle commented 1 week ago

Fix #49

maelle commented 1 week 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 1 week ago

Hi Maelle,

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

maelle commented 1 week ago

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

maelle commented 1 week ago

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