{% set meistgeleseneArtikel = meistgelesene_artikel() %}
{% if meistgeleseneArtikel is defined %}
<div class="mb-5">
<h3 class="meistgelesen">Meistgelesen</h3>
<ul class="list-group list-group-flush meistgelesen">
{% for artikel in meistgeleseneArtikel %}
<li class="list-group-item {{ cycle(['odd', 'even'], loop.index0) }}" data-click-url="{{ path('fe.artikel_detail', {'slug': artikel.slug}) }}">
<span class="nr{{ loop.index <= 3 ? ' top' }}">0{{ loop.index }}</span><span class="titel">{{ artikel.titel }}</span>
</li>
{% endfor %}
</ul>
</div>
{% endif %}
{# Custom UW Ad Rectangle #}
{% set customRectangle = content_uw_ad_rectangle() %}
{% if customRectangle %}
<div class="mb-4 text-center">
{% if customRectangle.getClickUrl %}<a href="{{ customRectangle.getClickUrl }}" target="{{ customRectangle.getClickUrlTarget }}">{% endif %}
<img class="img-fluid mb-2 lazy"
data-src="{{ asset(customRectangle.getAssetFilepath) }}"
alt="{{ customRectangle.getAlt }}"
title="{{ customRectangle.getCaption }}">
{% if customRectangle.getClickUrl %}</a>{% endif %}
</div>
{# <div class="mb-4">#}
{# {% if customRectangle.getClickUrl %}<a href="{{ customRectangle.getClickUrl }}" target="{{ customRectangle.getClickUrlTarget }}">{% endif %}#}
{# <img class="img-fluid w-100 mb-2 lazy" data-src="{{ asset(customRectangle.getAssetFilepath) }}" alt="{{ customRectangle.getAlt }}" title="{{ customRectangle.getCaption }}">#}
{# {% if customRectangle.getClickUrl %}</a>{% endif %}#}
{# </div>#}
{% endif %}
{# end #}