Skip to content

Commit

Permalink
Add div instead of <article> for facets (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
ipf authored Sep 15, 2022
1 parent 1ab1de1 commit f8e5c43
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Resources/Private/Partials/Facets/Facet.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
facet’s configured type (deaulting to »List«).
</f:comment>
<f:if condition="{f:count(subject:facetData.values)} > 0">
<article class="facet facet-id-{facetInfo.id}{f:if(condition:facetInfo.type, then:' facet-type-{facetInfo.type}')}">
<div class="facet facet-id-{facetInfo.id}{f:if(condition:facetInfo.type, then:' facet-type-{facetInfo.type}')}">
<h1>
<f:translate key="LLL:{settings.languageRootPath}locallang-facets.xml:facet.{facetInfo.id}" default="{facetInfo.id}"/>
</h1>
<f:alias map="{facetType:'{f:if(condition:facetInfo.type, then:facetInfo.type, else:\"List\")}'}">
<f:render partial="Facets/Facet/{facetType}" arguments="{_all}"/>
</f:alias>
</article>
</f:if>
</div>
</f:if>

0 comments on commit f8e5c43

Please sign in to comment.