rms-support-letter.github.io/_includes/hreflangs.html

7 lines
422 B
HTML
Raw Normal View History

2021-04-01 18:36:52 +02:00
{% for translation in site.translations %}
2021-04-01 19:42:43 +02:00
{%- assign hreflang = translation.url | replace: '/index-', '' | replace: '.html', '' -%}
2021-04-01 20:21:46 +02:00
<link rel="alternate" hreflang="{{ hreflang }}" href="{{ translation.url | absolute_url }}" />
2021-04-01 18:36:52 +02:00
{%- endfor -%}
2021-04-01 20:21:46 +02:00
<link rel="alternate" hreflang="en" href="https://rms-support-letter.github.io/" />
<link rel="alternate" hreflang="x-default" href="https://rms-support-letter.github.io/" />