Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/humrochagf/colordrop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHumberto Rocha <humrochagf@gmail.com>2019-08-12 16:22:14 +0300
committerHumberto Rocha <humrochagf@gmail.com>2019-08-12 16:22:14 +0300
commit9be517dca50e42ba3bbf5ec85e62e7562653cc63 (patch)
tree4eff618decf92261f4877d64d41d125834a4ad38 /layouts
parent0dde5f632c7d2490d1dec8edaba08794e58fdabd (diff)
fix canonical tag to include hreflang
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/meta.html2
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 }}