15 lines
963 B
HTML
15 lines
963 B
HTML
![]() |
<meta property="og:type" content="{{ if .IsPage }}article{{ else }}website{{ end }}" />
|
||
|
<meta property="og:title" content="{{ .Title | default .Site.Title }}" />
|
||
|
<meta property="og:description" content="{{ .Description | default .Site.Params.Description }}" />
|
||
|
<meta property="og:image" content="{{ .Scratch.Get "metaImg" }}" />
|
||
|
<meta property="og:image:width" content="312" />
|
||
|
<meta property="og:image:height" content="312" />
|
||
|
<meta property="og:image:type" content="image/jpeg/png/svg/jpg" />
|
||
|
<meta property="og:url" content="{{ .Permalink }}"/>
|
||
|
<meta property="og:site_name" content="{{ .Title | default .Site.Title }}" />
|
||
|
<meta property="og:locale" content="{{ .Scratch.Get "lang" }}"/>
|
||
|
{{- if .IsHome }}
|
||
|
<meta property="article:author" content="{{ (delimit .Authors ",") | default .Site.Params.Author }}" />
|
||
|
<meta property="article:published_time" content="{{ .PublishDate }}" />
|
||
|
<meta property="article:modified_time" content="{{ .Lastmod }}" />
|
||
|
{{- end }}
|