2022-02-14 15:25:11 +00:00
|
|
|
{{- with partial "utils/featured" . }}
|
2021-12-30 14:55:55 +00:00
|
|
|
<meta name="twitter:card" content="summary_large_image" />
|
2022-02-06 15:59:16 +00:00
|
|
|
{{- else }}
|
2022-02-14 15:25:11 +00:00
|
|
|
<meta name="twitter:card" content="summary" />
|
2021-12-30 14:30:40 +00:00
|
|
|
{{- end }}
|
2022-02-14 21:58:34 +00:00
|
|
|
<meta name="twitter:title" {{ partial "utils/title" . | printf "content=%q" | safeHTMLAttr }} />
|
2022-02-14 15:25:11 +00:00
|
|
|
{{- with partial "utils/featured" . }}
|
|
|
|
<meta property="twitter:image" content="{{ . }}" />
|
|
|
|
{{- end }}
|
2022-02-05 19:02:17 +00:00
|
|
|
{{- with partial "utils/description" . }}
|
2022-02-14 21:58:34 +00:00
|
|
|
<meta name="twitter:description" content="{{ . | plainify | htmlUnescape | chomp }}" />
|
2022-02-05 19:02:17 +00:00
|
|
|
{{- end }}
|
|
|
|
{{- with .Site.Social.twitter -}}
|
2021-12-30 14:55:55 +00:00
|
|
|
<meta name="twitter:site" content="@{{ . }}" />
|
2022-02-05 19:02:17 +00:00
|
|
|
{{- end }}
|