This is an automated email from the ASF dual-hosted git repository. pcongiusti pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-website.git
commit c8a190ee4c75b5c661d53139074096c9524dc495 Author: Pasquale Congiusti <[email protected]> AuthorDate: Mon Nov 28 16:53:50 2022 +0100 fix: og:image Closes #768 --- layouts/partials/header.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index e7890a1d..709e195d 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -17,10 +17,10 @@ <link rel="icon" type="image/png" href="{{ "favicon-16x16.png" | relURL }}" sizes="16x16"> <link rel="icon" type="image/png" href="{{ "favicon-128.png" | relURL }}" sizes="128x128"> <meta name="application-name" content="Apache Camel"> - - <meta property="og:title" content="{{ .Title }}"> - <meta property="og:site_name" content="{{ .Site.Title }}"> - <meta property="og:url" content="{{ .Permalink }}"> + + <meta property="og:title" content="{{ .Title }}"> + <meta property="og:site_name" content="{{ .Site.Title }}"> + <meta property="og:url" content="{{ .Permalink }}"> {{ if .Description}} <meta name="og:description" content="{{ .Description }}"> {{ else }} @@ -31,11 +31,11 @@ <meta property="og:type" content="website"> {{ $featured := (.Resources.ByType "image").GetMatch "*featured*" }} {{ with $featured }} - <meta property="og:image" content="{{ $featured.RelPermalink }}"> + <meta property="og:image" content="https://camel.apache.org{{ $featured.RelPermalink }}"> {{ else }} <meta property="og:image" content="{{ .Site.Params.organizationLogo }}"> {{ end }} - + <link rel="manifest" href="{{ "site.webmanifest" | relURL }}"> <title>{{ block "title" . }}{{ .Title }} - {{ .Site.Title }}{{ end }}</title> <link rel="canonical" href="{{ .Permalink }}">
