more seo fixes

This commit is contained in:
a 2024-02-27 03:07:00 -06:00
parent 5e40156c92
commit 2814692100

View file

@ -102,7 +102,7 @@
"@type": "WebSite", "@type": "WebSite",
"name": {{ .Site.Title }}, "name": {{ .Site.Title }},
"url": {{ .Site.BaseURL }}, "url": {{ .Site.BaseURL }},
"logo": { "image": {
"@type": "ImageObject", "@type": "ImageObject",
"url": {{with $icon}}{{.Permalink}}{{else}}{{$staticIcon}}{{end}} "url": {{with $icon}}{{.Permalink}}{{else}}{{$staticIcon}}{{end}}
} }
@ -119,7 +119,10 @@
"name": {{ .Title }}, "name": {{ .Title }},
"url": {{ .Permalink }}, "url": {{ .Permalink }},
"description": {{ (or .Description .Summary) | plainify }}, "description": {{ (or .Description .Summary) | plainify }},
"logo": {{with $icon}}{{.Permalink}}{{else}}{{$staticIcon}}{{end}} "image": {
"@type": "ImageObject",
"url": {{with $icon}}{{.Permalink}}{{else}}{{$staticIcon}}{{end}}
}
} }
</script> </script>
{{- end -}} {{- end -}}