diff --git a/layouts/partials/head/structured-data.html b/layouts/partials/head/structured-data.html index 2d6e01004..ec4b49863 100644 --- a/layouts/partials/head/structured-data.html +++ b/layouts/partials/head/structured-data.html @@ -34,7 +34,7 @@ "name": "{{ .Site.Params.schema.name }}", "url": {{ print $baseURL }}, "sameAs": {{ $alt | uniq | complement (slice "") }}, - {{ if eq .Site.Params.schemaType "Organization" -}} + {{ if eq .Site.Params.schema.type "Organization" -}} "logo": { "@type": "ImageObject", "@id": {{ print $baseURL "#/schema/image/1"}}, @@ -200,4 +200,4 @@ ] } - \ No newline at end of file +