diff --git a/src/QUI/Bricks/Controls/Accordion.JSON-LD-Schema.html b/src/QUI/Bricks/Controls/Accordion.JSON-LD-Schema.html new file mode 100644 index 0000000000000000000000000000000000000000..c41eab33150af911b210cd73f92b252bc8f75345 --- /dev/null +++ b/src/QUI/Bricks/Controls/Accordion.JSON-LD-Schema.html @@ -0,0 +1,22 @@ +<script type="application/ld+json"> + { + "@context": "https://schema.org", + "@type": "FAQPage", + "mainEntity": [ + {foreach from=$entries item=entry} + {if isset($entry['entryTitle']) && isset($entry['entryContent'])} + + { + "@type": "Question", + "name": "{$entry['entryTitle']}", + "acceptedAnswer": { + "@type": "Answer", + "text": "{$entry['entryContent']|escape:"htmlall"}" + } + + }{if !($entry@last)},{/if} + {/if} + {/foreach} + ] + } +</script>