diff --git a/layouts/partials/data/schema.org.html b/layouts/partials/data/schema.org.html index c16cd0bca8..b799901a5e 100644 --- a/layouts/partials/data/schema.org.html +++ b/layouts/partials/data/schema.org.html @@ -1,6 +1,6 @@ {{- $debug := partialCached "partials/functions/debug/enabled.html" . -}} -{{- if .IsHome -}} +{{- if and .IsHome (templates.Exists "partials/schema.org/home.html") -}} {{- partial "schema.org/home.html" . -}} {{- else -}} {{- $schemaTemplate := printf "schema.org/%s.html" .Kind -}}