Skip to content

Commit

Permalink
Add current language <link rel=alternate> tag
Browse files Browse the repository at this point in the history
  • Loading branch information
dominiclord committed Jun 10, 2020
1 parent d1a7729 commit b8045af
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions views/charcoal/cms/metatag/document.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<title>{{& documentTitle }}</title>

{{# hasAlternateTranslations }}
<link rel="alternate" hreflang="{{ currentLanguage }}" href="{{ currentUrl }}">
{{# alternateTranslations }}
<link rel="alternate" hreflang="{{ hreflang }}" href="{{ url }}">
{{/ alternateTranslations }}
Expand Down

0 comments on commit b8045af

Please sign in to comment.