{namespace vh=Newland\NeosViewHelpers\ViewHelpers}

<f:comment>
    <!--
        This partial is responsible for rendering the result list which
        is used in both the initial list view and the facet/search result
        ajax response.
    -->
</f:comment>

<p>{pagination.count.items} Results</p>

<f:if condition="{articles -> f:count()} > 0">
    <f:then>
        <f:for each="{articles}" as="article">
            <vh:render
                partial="PointOfInterests/List/Article"
                arguments="{article: article, node: node}" />

        </f:for>
    </f:then>
    <f:else>
        <p>Für Ihre Suche konnten leider keine Ergebnisse gefunden werden</p>
    </f:else>
</f:if>

<vh:render partial="Pagination" arguments="{_all}"/>
