2022-02-15 21:27:43 +00:00
|
|
|
{{- with partial "utils/featured" . }}
|
2022-02-07 09:57:43 +00:00
|
|
|
<meta name="twitter:card" content="summary_large_image" />
|
|
|
|
{{- else }}
|
2022-02-15 21:27:43 +00:00
|
|
|
<meta name="twitter:card" content="summary" />
|
|
|
|
{{- end }}
|
|
|
|
<meta name="twitter:title" {{ partial "utils/title" . | printf "content=%q" | safeHTMLAttr }} />
|
|
|
|
{{- with partial "utils/featured" . }}
|
|
|
|
<meta property="twitter:image" content="{{ . }}" />
|
2022-02-07 09:57:43 +00:00
|
|
|
{{- end }}
|
|
|
|
{{- with partial "utils/description" . }}
|
2022-02-15 21:27:43 +00:00
|
|
|
<meta name="twitter:description" content="{{ . | plainify | htmlUnescape | chomp }}" />
|
2022-02-07 09:57:43 +00:00
|
|
|
{{- end }}
|
|
|
|
{{- with .Site.Social.twitter -}}
|
|
|
|
<meta name="twitter:site" content="@{{ . }}" />
|
|
|
|
{{- end }}
|