1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-21 13:21:16 -04:00

fix AMP validation warnings

This commit is contained in:
2019-11-20 10:08:28 -05:00
parent d409636c4e
commit a048c10b06
6 changed files with 7 additions and 6 deletions

View File

@@ -14,9 +14,9 @@
"url": {{ .Site.BaseURL }},
"image": {
"@type": "ImageObject",
"url": {{ "me.jpg" | absURL }},
"width": 320,
"height": 320
"url": {{ "me_lg.jpg" | absURL }},
"width": 920,
"height": 920
}
},
"publisher": {
@@ -32,7 +32,7 @@
},
"image": {
"@type": "ImageObject",
"url": {{ if .Params.image }}{{ (printf "%s%s%s" (.OutputFormats.Get "html").Permalink "images/" .Params.image ) }}{{ else }}{{ "me.jpg" | absURL }}{{ end }}
"url": {{ if .Params.image }}{{ (printf "%s%s%s" (.OutputFormats.Get "html").Permalink "images/" .Params.image ) }}{{ else }}{{ "me_lg.jpg" | absURL }}{{ end }}
}
}
</script>