comprehensive-rust
comprehensive-rust copied to clipboard
Add links between translations
We need to add links between the translations. This will take two forms:
- A language picker for users. This is done via #411.
- Links for robots so that search engines can index the pages reliably.
The second part is done by adding
<link rel="alternate" hreflang="en" href="https://google.github.io/comprehensive-rust/" />
<link rel="alternate" hreflang="pt-BR" href="https://google.github.io/comprehensive-rust/pt-BR/" />
to the head element of every page. The alternatives will link each page with its translated siblings. See this documentation for details.