<!-- SYNDICATION liste start -->
{{ include_css('tools/syndication/presentation/styles/syndication.css')}}
{% if title is not empty %}
<h2>{{ title }}</h2>
{% endif %}
<ul class="liste_rss {{ class }}">
  {% for page in syndication.pages %}
    <li class="title_rss">
      {% if page.date is not empty %}
      <small class="date_rss">{{ page.date }}</small>
      {% endif %}
      {% if showImage is not empty and page.image is not empty %}
      <img class="feed-img" src="{{ page.image }}" alt="" />
      {% endif %}
      <a class="lien_rss" href="{{ page.url }}" {% if ext == true %}target="_blank"{% endif %}>
        {{ page.title }}
      </a>
      {% if page.source is not empty %}
          <small>{{ _t('SYNDICATION_SOURCE') ~ ' : ' ~ page.source }}</small>
      {% endif %}
      {% if page.linkToEntry is not empty %}
          <a class="bazar-actions" href="{{ page.linkToEntry }}" title="{{ _t('BAZ_SEE_ENTRY') }}"><i class="fa fa-eye"></i></a>
          <a class="bazar-actions" href="{{ page.linkToEntry ~ '/edit' }}" title="{{ _t('BAZ_MODIFIER_LA_FICHE') }}"><i class="fas fa-edit"></i></a>
          <a class="bazar-actions text-danger" href="{{ page.linkToEntry ~ '/deletepage' }}" title="{{ _t('BAZ_SUPPRIMER_LA_FICHE') }}"><i class="fa fa-trash"></i></a>
      {% endif %}
      {% if page.mappingInput is not empty %}
          <a class="bazar-actions" href="{{ url({ params: { mapping: page.mappingInput|e('url') }}) }}" title="{{ _t('SYNDICATION_COPY_IN_WIKI') }}"><i class="fa fa-plus"></i></a>
      {% endif %}
    </li>
  {% endfor %}
</ul>
<!-- SYNDICATION liste end --> 
