Skip to content

Commit

Permalink
Replace thumbnailUrl with logo for json schema (#1488)
Browse files Browse the repository at this point in the history
thumbnailUrl is not part of Organization: https://schema.org/Organization
  • Loading branch information
xuhdev authored Nov 8, 2024
1 parent 1ace39a commit 0234865
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/templates/schema_json.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"name": {{ site.Title }},
"url": {{ site.Home.Permalink }},
"description": {{ site.Params.description | plainify | truncate 180 | safeHTML }},
"thumbnailUrl": {{ site.Params.assets.favicon | default "favicon.ico" | absURL }},
"logo": {{ site.Params.assets.favicon | default "favicon.ico" | absURL }},
"sameAs": [
{{- if site.Params.schema.sameAs }}
{{ range $i, $e := site.Params.schema.sameAs }}{{ if $i }}, {{ end }}{{ trim $e " " }}{{ end }}
Expand Down

0 comments on commit 0234865

Please sign in to comment.