This is an automated email from the ASF dual-hosted git repository.
zregvart pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-website.git
The following commit(s) were added to refs/heads/main by this push:
new 8f12db7 chore: use absolute links in canonical URLs
8f12db7 is described below
commit 8f12db7df7f9431ea8067200118c42d87763b817
Author: Zoran Regvart <[email protected]>
AuthorDate: Thu Sep 16 12:58:40 2021 +0200
chore: use absolute links in canonical URLs
This changes the `<link rel="canonical">` to contain the absolute links
instead of relative links.
---
layouts/partials/header.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 2ae664a..104b3ee 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -25,7 +25,7 @@
<meta property="og:image"
content="https://camel.apache.org/_/img/logo-d.svg">
<link rel="manifest" href="{{ "site.webmanifest" | relURL }}">
<title>{{ block "title" . }}{{ .Title }} - {{ .Site.Title }}{{ end
}}</title>
- <link rel="canonical" href="{{ .RelPermalink }}">
+ <link rel="canonical" href="{{ .Permalink }}">
{{ if .Description}}
<meta name="description" content="{{ .Description }}">
{{ end }}