Add logo to publisher JSON-LD.
This commit is contained in:
parent
69b7a0bf75
commit
23f53a6ba7
1 changed files with 15 additions and 3 deletions
|
|
@ -23,7 +23,13 @@
|
|||
"publisher": {
|
||||
"@type": "Organization",
|
||||
"name": {{ .Site.Title }},
|
||||
"url": {{ .Site.BaseURL }}
|
||||
"url": {{ .Site.BaseURL }},
|
||||
{{ with $.Param "icon" -}}
|
||||
"logo" : {
|
||||
"@type": "ImageObject",
|
||||
"url": {{ . | absURL }}
|
||||
}
|
||||
{{ end -}}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Reference in a new issue