diff --git a/design_system_admin/modeles/dsfr_question.html b/design_system_admin/modeles/dsfr_question.html new file mode 100644 index 0000000000000000000000000000000000000000..872a467c79be65f9405a3fec18b77c48454019be --- /dev/null +++ b/design_system_admin/modeles/dsfr_question.html @@ -0,0 +1,23 @@ +<script type="application/ld+json"> + { + "@context": "https://schema.org", + "@type": "FAQPage", + "mainEntity": [{ + "@type": "Question", + "name": "#ENV{question}", + "acceptedAnswer": { + "@type": "Answer", + "text": "[(#ENV{reponse}|paragrapher|propre)]" + } + }] + } +</script> + +<div itemscope itemprop="mainEntity" itemtype="https://schema.org/Question"> + <h2 itemprop="name">#ENV{question}</h2> + <div itemscope itemprop="acceptedAnswer" itemtype="https://schema.org/Answer"> + <div itemprop="text"> + [(#ENV{reponse}|paragrapher|propre)] + </div> + </div> + </div>