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

github.com/monkeyWzr/hugo-theme-cactus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGo <monkeywzr@gmail.com>2021-07-05 11:34:25 +0300
committerGitHub <noreply@github.com>2021-07-05 11:34:25 +0300
commit9409fd2a557d485e5885f501fcc6e620dcaf770c (patch)
treedabced316d7bc02fb3ee2494e0970010f5e59b91
parentf42b9b53a4b84a4f04c7cef2fb062ffead16faba (diff)
parente2ccfddac1f6c343a4bfb72246a64456b78a8a35 (diff)
Merge pull request #10 from Nizzlay/canonical
Add canonical tag for improved SEO (and prevents duplicate content if…
-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 392f0f1..fe2f63b 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -2,6 +2,7 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>{{ if .IsPage }} {{ .Title }} | {{ end }}{{ .Site.Title }}</title>
+ <link rel = 'canonical' href = '{{ .Permalink }}'>
{{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }}
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="all,follow">