diff options
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r-- | layouts/partials/head.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index e6f0cbe..3875129 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -5,6 +5,7 @@ {{ if or (eq site.BaseURL "/") (eq site.BaseURL "http://localhost:1313/") (eq site.BaseURL "http://examplesite.org/") (eq site.BaseURL "https://examplesite.org/") (eq site.BaseURL "http://examplesite.com/") (eq site.BaseURL "https://examplesite.com/")}}{{else}}
<base href="{{ site.BaseURL }}">
{{ end }}
+<link rel="canonical" href="{{ .Permalink }}" itemprop="url" />
<!-- multilingual SEO optimizations -->
{{ if .IsTranslated }}
|