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

github.com/themefisher/bigspring-hugo-startup-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMehedi Sharif Titas <mehedishariftitas@gmail.com>2021-09-21 20:12:12 +0300
committerGitHub <noreply@github.com>2021-09-21 20:12:12 +0300
commitf0e4112055e237dc8384b59eb148082fe29afe81 (patch)
tree3401224243583703a6889f37f62fd5e4805a367e
parent3de3281579e26eafc1aea81c179fbf494017b926 (diff)
parent20e45e2abbeede15e9f8eb819be5373004e17d0a (diff)
Merge pull request #49 from joomlaext/master
Added missing canonical URL to avoid duplicate content indexing
-rw-r--r--layouts/partials/head.html1
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 }}