Problem
layouts/partials/head.html:16-18 only declares twitter:card and twitter:site. Twitter falls back to the og:* tags, so it works — but only if the OG image exists (see #52), and it is more robust to declare the Twitter tags explicitly.
To do
<meta name="twitter:title" content="{{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ .Title }}{{ end }}">
<meta name="twitter:description" content="{{ with .Description }}{{ . }}{{ else }}{{ .Site.Params.description }}{{ end }}">
{{ with .Site.Params.ogImage }}<meta name="twitter:image" content="{{ . | absURL }}">{{ end }}
Depends on #52.
Problem
layouts/partials/head.html:16-18only declarestwitter:cardandtwitter:site. Twitter falls back to theog:*tags, so it works — but only if the OG image exists (see #52), and it is more robust to declare the Twitter tags explicitly.To do
Depends on #52.