diff options
author | Humberto Rocha <humrochagf@gmail.com> | 2019-08-12 16:22:14 +0300 |
---|---|---|
committer | Humberto Rocha <humrochagf@gmail.com> | 2019-08-12 16:22:14 +0300 |
commit | 9be517dca50e42ba3bbf5ec85e62e7562653cc63 (patch) | |
tree | 4eff618decf92261f4877d64d41d125834a4ad38 /layouts | |
parent | 0dde5f632c7d2490d1dec8edaba08794e58fdabd (diff) |
fix canonical tag to include hreflang
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/meta.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/meta.html b/layouts/partials/meta.html index a61b5ce..ec5f311 100644 --- a/layouts/partials/meta.html +++ b/layouts/partials/meta.html @@ -10,7 +10,7 @@ <link rel="icon" type="image/png" href="{{ "/img/favicon-16x16.png" | absURL }}" sizes="16x16" /> <!-- SEO tags --> -<link rel="canonical" href="{{ .Permalink }}" /> +<link rel="canonical" hreflang="{{ .Language.Lang }}" href="{{ .Permalink }}" /> {{ if .IsTranslated }} {{ range .Translations }} |