Skip to content

Commit

Permalink
Add rel=alternate
Browse files Browse the repository at this point in the history
  • Loading branch information
gilgongo authored Jun 8, 2024
1 parent 9914589 commit 1294571
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/langselect.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<li><a href="{{ langlink }}" rel="canonical" hreflang="{{ lng }}" data-slang="{{ lng }}">{{ lng }}</a></li>
{% else %}
{% capture langlink %}/{{ lng }}{{ page.url }}{% endcapture %}
<li><a href="{{ langlink }}" hreflang="{{ lng }}" data-slang="{{ lng }}">{{ lng }}</a></li>
<li><a href="{{ langlink }}" rel="alternate" hreflang="{{ lng }}" data-slang="{{ lng }}">{{ lng }}</a></li>
{% endif %}
{% endif %}
{% endfor %}
Expand Down

0 comments on commit 1294571

Please sign in to comment.