add twitter image url as well

This commit is contained in:
Greg Gauthier 2022-01-04 20:49:19 +00:00
parent a2d6f74631
commit ce02bcb106

View File

@ -2,6 +2,7 @@
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="og:image" content="{{.Site.Params.blogCdnURL}}{{.Params.image}}">
<meta name="twitter:image" content="{{.Site.Params.blogCdnURL}}{{.Params.image}}">
<meta name="description" content="{{ if .IsNode }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ else }}{{ with .Description }}{{ . }}{{ end }}{{ end }}">
{{hugo.Generator}}