1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-19 04:55:30 -04:00

add og:image:type meta tag

This commit is contained in:
2020-06-01 20:26:50 -04:00
parent 6be0ce30d4
commit 33fd5adb9a
4 changed files with 165 additions and 158 deletions

View File

@@ -6,6 +6,7 @@
<meta property="og:description" content="{{ with .Description }}{{ . }}{{ else }}{{ .Site.Params.description }}{{ end }}">
<meta property="og:image" content="{{ .Scratch.Get "socialImage_url" | absURL }}">
<meta property="og:image:type" content="{{ .Scratch.Get "socialImage_type" }}">
<meta property="og:image:width" content="{{ .Scratch.Get "socialImage_width" }}">
<meta property="og:image:height" content="{{ .Scratch.Get "socialImage_height" }}">
<meta property="og:image:alt" content="{{ .Title }}">