Introduce bilingual site routing with Catalan as primary language and x-default, plus Spanish as the alternate. Each page declares its own canonical, full hreflang block, locale and locale:alternate, and a language-specific og:image. A top-right selector (CA | ES) lives in every <header> with aria-current set on the active language. - /ca/index.html: Catalan translation of the full editorial (title, meta, hero, six body sections, chart titles/desc/figcaption, footer). - /es/index.html: previous Spanish content moved under /es/, with updated canonical and metadata. - og-image-ca.jpg and og-image-es.jpg: separate 1200x630 social images. - og-image.jpg removed (no longer cross-language). - sitemap.xml rewritten to list both URLs with xhtml:link hreflang annotations and x-default. - README and CHANGELOG updated to document the new structure.
18 lines
1.0 KiB
XML
18 lines
1.0 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
|
xmlns:xhtml="http://www.w3.org/1999/xhtml">
|
|
<url>
|
|
<loc>https://posidonia.eivissaenvironmentalwatch.es/ca/</loc>
|
|
<lastmod>2026-07-30</lastmod>
|
|
<xhtml:link rel="alternate" hreflang="ca" href="https://posidonia.eivissaenvironmentalwatch.es/ca/"/>
|
|
<xhtml:link rel="alternate" hreflang="es" href="https://posidonia.eivissaenvironmentalwatch.es/es/"/>
|
|
<xhtml:link rel="alternate" hreflang="x-default" href="https://posidonia.eivissaenvironmentalwatch.es/ca/"/>
|
|
</url>
|
|
<url>
|
|
<loc>https://posidonia.eivissaenvironmentalwatch.es/es/</loc>
|
|
<lastmod>2026-07-30</lastmod>
|
|
<xhtml:link rel="alternate" hreflang="ca" href="https://posidonia.eivissaenvironmentalwatch.es/ca/"/>
|
|
<xhtml:link rel="alternate" hreflang="es" href="https://posidonia.eivissaenvironmentalwatch.es/es/"/>
|
|
<xhtml:link rel="alternate" hreflang="x-default" href="https://posidonia.eivissaenvironmentalwatch.es/ca/"/>
|
|
</url>
|
|
</urlset> |