mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-03 17:46:39 -04:00
fix AMP validation warnings
This commit is contained in:
BIN
content/me_lg.jpg
Normal file
BIN
content/me_lg.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 145 KiB |
BIN
content/notes/css-waving-hand-emoji/images/codepen.png
Normal file
BIN
content/notes/css-waving-hand-emoji/images/codepen.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 126 KiB |
@ -8,6 +8,7 @@ tags:
|
||||
- Emoji
|
||||
- Keyframes
|
||||
- Cool Tricks
|
||||
image: "codepen.png"
|
||||
draft: false
|
||||
---
|
||||
|
||||
|
@ -9,7 +9,7 @@ tags:
|
||||
- Pull Request
|
||||
- Open Source
|
||||
- GitHub
|
||||
image: "forks.png"
|
||||
image: "step7-2.png"
|
||||
draft: false
|
||||
---
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
<meta property="og:locale" content="en_US">
|
||||
<meta property="og:url" content="{{ .Permalink }}">
|
||||
<meta property="og:description" content="{{ if .Description }}{{ .Description }}{{ else }}{{ .Site.Params.description }}{{ end }}">
|
||||
<meta property="og:image" content="{{ if .Params.image }}{{ (printf "%s%s%s" (.OutputFormats.Get "html").Permalink "images/" .Params.image ) }}{{ else }}{{ "me.jpg" | absURL }}{{ end }}">
|
||||
<meta property="og:image" content="{{ if .Params.image }}{{ (printf "%s%s%s" (.OutputFormats.Get "html").Permalink "images/" .Params.image ) }}{{ else }}{{ "me_lg.jpg" | absURL }}{{ end }}">
|
||||
{{- if .IsPage }}
|
||||
{{- if not .PublishDate.IsZero }}
|
||||
<meta property="article:published_time" content="{{ .PublishDate.Format "2006-01-02T15:04:05-07:00" | safeHTMLAttr }}">
|
||||
|
@ -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>
|
Reference in New Issue
Block a user