2019-01-08 18:33:28 +02:00
|
|
|
{{ "<!-- Twitter -->" | safeHTML }}
|
|
|
|
<meta name="twitter:card" content="{{ if .IsHome }}summary_large_image{{ else }}summary{{ end }}">
|
|
|
|
<meta name="twitter:site" content="@{{ .Site.Params.twitter }}">
|
|
|
|
<meta name="twitter:creator" content="@{{ .Site.Params.twitter }}">
|
|
|
|
<meta name="twitter:title" content="{{ .Title | markdownify }}">
|
2019-08-08 17:54:59 +03:00
|
|
|
<meta name="twitter:description" content="{{ .Page.Params.description | default .Site.Params.description | markdownify }}">
|
2019-08-08 18:30:43 +03:00
|
|
|
<meta name="twitter:image" content="{{ if .IsHome }}{{ .Site.Params.social_logo_path | absURL }}{{ else }}{{ .Site.Params.social_image_path | absURL }}{{ end }}">
|
2019-01-08 18:33:28 +02:00
|
|
|
|
|
|
|
{{ "<!-- Facebook -->" | safeHTML }}
|
|
|
|
<meta property="og:url" content="{{ .Permalink }}">
|
|
|
|
<meta property="og:title" content="{{ .Title | markdownify }}">
|
2019-08-08 17:54:59 +03:00
|
|
|
<meta property="og:description" content="{{ .Page.Params.description | default .Site.Params.description | markdownify }}">
|
2020-09-29 19:28:03 +03:00
|
|
|
<meta property="og:type" content="{{ if .IsPage }}article{{ else }}website{{ end }}">
|
2020-03-08 17:06:49 +09:00
|
|
|
<meta property="og:image" content="{{ .Site.Params.social_image_path | absURL }}">
|
2019-01-08 18:33:28 +02:00
|
|
|
<meta property="og:image:type" content="image/png">
|
2020-06-16 19:46:28 +03:00
|
|
|
<meta property="og:image:width" content="1000">
|
|
|
|
<meta property="og:image:height" content="500">
|