mirror of
https://github.com/qdrant/landing_page.git
synced 2026-09-26 14:38:30 +02:00
added canonical metatag to documentation pages (#191)
This commit is contained in:
@@ -155,4 +155,13 @@
|
||||
<!-- Author -->
|
||||
{{ if .Params.author }}
|
||||
<meta name="author" content="{{ .Params.author }}">
|
||||
{{ end }}
|
||||
|
||||
<!-- Canonical URL -->
|
||||
{{ if (eq .Section "documentation") }}
|
||||
{{ if .Params.canonicalUrl }}
|
||||
<link rel="canonical" href="{{ .Params.canonicalUrl }}">
|
||||
{{ else }}
|
||||
<link rel="canonical" href="{{ .Permalink }}">
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user