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

github.com/LukasJoswiak/etch.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Rassadin <anton@rassadin.net>2022-10-05 10:21:20 +0300
committerGitHub <noreply@github.com>2022-10-05 10:21:20 +0300
commit3473a5e7f60270061e7cfbb94e1a1739bc87b538 (patch)
tree6e19453381d31708396d739915faabb5a9001b63
parent1969ea26457aef716efae848c5d08c8a00d75a69 (diff)
Add canonical link (#45)
-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 5fa3a6a..bb7ef8b 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -27,5 +27,6 @@
{{ $css := $resources | resources.Concat "css/style.css" | minify }}
{{ printf `<link rel="stylesheet" href="%s">` $css.RelPermalink | safeHTML }}
+ <link rel="canonical" href="{{ .Permalink }}" />
<title>{{ .Title }}</title>
</head>