diff --git a/Resources/Private/Partials/SingleViewSchema.html b/Resources/Private/Partials/SingleViewSchema.html index 3d586ee5320c16a02764ad57b77c6ed468d6f234..1834de55bfa6d3f8268cae0104eededc383eb03e 100644 --- a/Resources/Private/Partials/SingleViewSchema.html +++ b/Resources/Private/Partials/SingleViewSchema.html @@ -1,13 +1,10 @@ -<script type="application/ld+json"> - <f:if condition="{newsMetaData.customSchemaJson}"> - <f:then> - <f:format.raw>{newsMetaData.customSchemaJson}</f:format.raw> - </f:then> - <f:else> +<f:if condition="{newsMetaData.customSchemaJson}"> + <f:else> + <script type="application/ld+json"> <f:render section="default" arguments="{_all}"/> - </f:else> - </f:if> -</script> + </script> + </f:else> +</f:if> <f:section name="default"> <f:alias map="{leftBrace: '{', rightBrace: '}'}">