2022-02-15 13:27:43 -08:00
|
|
|
{{- with partial "utils/featured" . }}
|
2022-02-07 01:57:43 -08:00
|
|
|
<meta name="twitter:card" content="summary_large_image" />
|
|
|
|
{{- else }}
|
2022-02-15 13:27:43 -08: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 01:57:43 -08:00
|
|
|
{{- end }}
|
|
|
|
{{- with partial "utils/description" . }}
|
2022-02-15 13:27:43 -08:00
|
|
|
<meta name="twitter:description" content="{{ . | plainify | htmlUnescape | chomp }}" />
|
2022-02-07 01:57:43 -08:00
|
|
|
{{- end }}
|
|
|
|
{{- with .Site.Social.twitter -}}
|
|
|
|
<meta name="twitter:site" content="@{{ . }}" />
|
|
|
|
{{- end }}
|