All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
- Fix breadcrumb schema position bug (3 → 2) for Google Rich Results - Override article/post schemas to use post image instead of site logo - Fix og:type to emit "article" on post pages with published/modified times - Add canonical link and hreflang alternate tags (incl. x-default) for bilingual site - Add organizationName/organizationLogo params for valid Organization schema - Add robots.txt with sitemap pointer - Add preconnect hint for analytics host
21 lines
989 B
HTML
21 lines
989 B
HTML
{{- with .Title | default .Site.Title }}
|
|
<meta property="og:title" content="{{ . }}" />
|
|
{{- end }}
|
|
{{- with .Description | default .Params.subtitle | default .Summary }}
|
|
<meta property="og:description" content="{{ . }}">
|
|
{{- end }}
|
|
{{- with .Params.share_img | default .Params.image | default .Site.Params.logo }}
|
|
<meta property="og:image" content="{{ . | absURL }}" />
|
|
{{- end }}
|
|
{{- with .Site.Params.fb_app_id }}
|
|
<meta property="fb:app_id" content="{{ . }}" />
|
|
{{- end }}
|
|
<meta property="og:url" content="{{ .Permalink | absLangURL }}" />
|
|
{{- if .IsPage }}
|
|
<meta property="og:type" content="article" />
|
|
{{- with .PublishDate }}<meta property="article:published_time" content="{{ .Format "2006-01-02T15:04:05Z07:00" }}" />{{- end }}
|
|
{{- with .Lastmod }}<meta property="article:modified_time" content="{{ .Format "2006-01-02T15:04:05Z07:00" }}" />{{- end }}
|
|
{{- else }}
|
|
<meta property="og:type" content="website" />
|
|
{{- end }}
|
|
<meta property="og:site_name" content="{{ .Site.Title }}" />
|