Skip to content

Commit

Permalink
Removes extraneous div (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
thejimbirch authored Jun 25, 2024
1 parent 8ec6ced commit dbd1136
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions templates/overrides/paragaphs/paragraph--sa-faq-item.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,16 @@
{% block paragraph %}
<div{{ attributes.addClass(classes) }}>
{% block content %}
<div class="faq" itemscope itemprop="mainEntity" itemtype="https://schema.org/Question">
<div class="faq--question" itemprop="name">{{ content.sa_header }}</div>
<div class="faq--answer" itemscope itemprop="acceptedAnswer" itemtype="https://schema.org/Answer">
<div class="faq--answer-text" itemprop="text">
{{ content.sa_description }}
</div>
</div>
<div class="faq" itemscope itemprop="mainEntity" itemtype="https://schema.org/Question">
<div class="faq--question" itemprop="name">
{{ content.sa_header }}
</div>
<div class="faq--answer" itemscope itemprop="acceptedAnswer" itemtype="https://schema.org/Answer">
<div class="faq--answer-text" itemprop="text">
{{ content.sa_description }}
</div>
</div>
</div>
{% endblock %}
</div>
{% endblock paragraph %}

0 comments on commit dbd1136

Please sign in to comment.