2022-06-25 08:56:31 +01:00
|
|
|
{{- with .Title | default .Site.Title }}
|
|
|
|
<meta name="twitter:title" content="{{ . | truncate 70 }}" />
|
|
|
|
{{- end }}
|
|
|
|
{{- with .Description | default .Params.subtitle | default .Summary }}
|
|
|
|
<meta name="twitter:description" content="{{ . | truncate 200 }}">
|
|
|
|
{{- end }}
|
|
|
|
{{- with .Params.share_img | default .Params.image | default .Site.Params.logo }}
|
|
|
|
<meta name="twitter:image" content="{{ . | absURL }}" />
|
|
|
|
{{- end }}
|
2022-08-21 10:48:00 +01:00
|
|
|
<meta name="twitter:card" content="summary_large_image" />
|
2022-06-25 08:56:31 +01:00
|
|
|
{{- with .Site.Author.twitter }}
|
|
|
|
<meta name="twitter:site" content="@{{ . }}" />
|
|
|
|
<meta name="twitter:creator" content="@{{ . }}" />
|
|
|
|
{{- end }}
|