riq0h.jp/themes/qiss/layouts/partials/social/twitter.html
2023-08-21 10:07:01 +09:00

7 lines
403 B
HTML

<meta name='twitter:card' content='summary{{- if .Params.image -}}_large_image{{- end -}}'>
{{- if .Site.Params.opengraph.twitter.page -}}
<meta name='twitter:site' content='@{{- .Site.Params.opengraph.twitter.page -}}'>
{{- else -}}
<meta name='twitter:site' content='@{{- .Site.Params.Social.twitter -}}'>
{{- end -}}
<meta name='twitter:creator' content='@{{- .Site.Params.Social.twitter -}}'>