testing og:image for carding

This commit is contained in:
Greg Gauthier 2022-01-04 20:39:50 +00:00
parent ae938394ae
commit a2d6f74631
2 changed files with 2 additions and 0 deletions

View File

@ -27,6 +27,7 @@ enableGitInfo = true
# disqus = "gmgauthier-1" # enabling this will add disqus to the bottom of all my posts automatically.
podcastCdnUrl = "https://gmgauthier.us-east-1.linodeobjects.com/podcast/"
blogCdnUrl = "https://gmgauthier.us-east-1.linodeobjects.com/blog/"
avatar = "/img/blog_avatar.jpg"
[markup]
[markup.goldmark.renderer]
unsafe= true

View File

@ -1,6 +1,7 @@
<head>
<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="description" content="{{ if .IsNode }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ else }}{{ with .Description }}{{ . }}{{ end }}{{ end }}">
{{hugo.Generator}}