<commit_before><section class="actu-list">
  {{ wo_render_breadcrumbs() }}

  <h1 class="actu-list-title">La playlist</h1>

  {% set top = playlists|first %}
  {% if top -%}
    <article data-clickable="true" class="bloc-content">
      <div class="bloc-content-inner">
        {# if top.image -%}
          <figure class="bloc-content-figure"><img src="{% path top.image, 'list_tablet' %}" srcset="{% path top.image, 'list_mobile' %} 480w, {% path top.image, 'list_tablet' %} 1900w" alt="Illustration de l'article « {{ top.title }} »" class="bloc-content-img img-responsive"></figure>
        {%- endif #}
        <div class="bloc-content-text">
          {# if top.collection -%}
            <span class="bloc-content-cat">{{ top.collection.name }}</span>
          {%- endif #}
          <time datetime="{{ top.featuredFrom | date('Y-m-d H:i') }}" class="bloc-content-date">{{ top.featuredFrom | localizeddate('long', 'none', 'fr-FR') }}</time>
          <h2 class="bloc-content-title">
            <a href="{{ path('playlist', {'slug': top.slug}) }}" data-clickable-target="true" title="Voir « {{ top.title }} »">{{ top.title }}</a>
          </h2>
          {{ top.resume }}
        </div>
      </div>
    </article>

    <div class="list">
      {% for playlist in playlists[1:] %}
      <article data-clickable="true" class="bloc-content">
        <div class="bloc-content-inner">
          {# if playlist.image -%}
            <figure class="bloc-content-figure"><img src="{% path playlist.image, 'list_tablet' %}" srcset="{% path playlist.image, 'list_mobile' %} 480w, {% path playlist.image, 'list_tablet' %} 992w, {% path playlist.image, 'list_desktop' %} 1900w" alt="Illustration de l'article « {{ playlist.title }} »" class="bloc-content-img img-responsive"></figure>
          {%- endif #}
          <div class="bloc-content-text">
            {# if playlist.collection -%}
              <span class="bloc-content-cat">{{ playlist.collection.name }}</span>
            {%- endif #}
            <time datetime="{{ playlist.featuredFrom | date('Y-m-d H:i') }}" class="bloc-content-date">{{ playlist.featuredFrom | localizeddate('long', 'none', 'fr-FR') }}</time>
            <h2 class="bloc-content-title">
              <a href="{{ path('playlist', {'slug': playlist.slug}) }}" data-clickable-target="true" title="Voir « {{ playlist.title }} »">{{ playlist.title }}</a>
            </h2>
            {{ playlist.resume }}
          </div>
        </div>
      </article>

      {% endfor %}
    </div>

  {%- else -%}
    <p><em>Aucun résultat</em></p>
  {%- endif %}

  {{ knp_pagination_render(playlists) }}

</section>
<aside class="content-aside">
  <div class="content-aside-inner">
    {{ render(controller('SonataNewsBundle:Post:getAsidePosts')) }}
  </div>
  {{ render(controller('SiteBundle:Newsletter:subscribe')) }}
</aside>
<commit_msg>Modified playlist resume in front playlists list<commit_after><section class="actu-list">
  {{ wo_render_breadcrumbs() }}

  <h1 class="actu-list-title">La playlist</h1>

  {% set top = playlists|first %}
  {% if top -%}
    <article data-clickable="true" class="bloc-content">
      <div class="bloc-content-inner">
        {# if top.image -%}
          <figure class="bloc-content-figure"><img src="{% path top.image, 'list_tablet' %}" srcset="{% path top.image, 'list_mobile' %} 480w, {% path top.image, 'list_tablet' %} 1900w" alt="Illustration de l'article « {{ top.title }} »" class="bloc-content-img img-responsive"></figure>
        {%- endif #}
        <div class="bloc-content-text">
          {# if top.collection -%}
            <span class="bloc-content-cat">{{ top.collection.name }}</span>
          {%- endif #}
          <time datetime="{{ top.featuredFrom | date('Y-m-d H:i') }}" class="bloc-content-date">{{ top.featuredFrom | localizeddate('long', 'none', 'fr-FR') }}</time>
          <h2 class="bloc-content-title">
            <a href="{{ path('playlist', {'slug': top.slug}) }}" data-clickable-target="true" title="Voir « {{ top.title }} »">{{ top.title }}</a>
          </h2>
          {{ top.resume|raw }}
        </div>
      </div>
    </article>

    <div class="list">
      {% for playlist in playlists[1:] %}
      <article data-clickable="true" class="bloc-content">
        <div class="bloc-content-inner">
          {# if playlist.image -%}
            <figure class="bloc-content-figure"><img src="{% path playlist.image, 'list_tablet' %}" srcset="{% path playlist.image, 'list_mobile' %} 480w, {% path playlist.image, 'list_tablet' %} 992w, {% path playlist.image, 'list_desktop' %} 1900w" alt="Illustration de l'article « {{ playlist.title }} »" class="bloc-content-img img-responsive"></figure>
          {%- endif #}
          <div class="bloc-content-text">
            {# if playlist.collection -%}
              <span class="bloc-content-cat">{{ playlist.collection.name }}</span>
            {%- endif #}
            <time datetime="{{ playlist.featuredFrom | date('Y-m-d H:i') }}" class="bloc-content-date">{{ playlist.featuredFrom | localizeddate('long', 'none', 'fr-FR') }}</time>
            <h2 class="bloc-content-title">
              <a href="{{ path('playlist', {'slug': playlist.slug}) }}" data-clickable-target="true" title="Voir « {{ playlist.title }} »">{{ playlist.title }}</a>
            </h2>
            {{ playlist.resume|raw }}
          </div>
        </div>
      </article>

      {% endfor %}
    </div>

  {%- else -%}
    <p><em>Aucun résultat</em></p>
  {%- endif %}

  {{ knp_pagination_render(playlists) }}

</section>
<aside class="content-aside">
  <div class="content-aside-inner">
    {{ render(controller('SonataNewsBundle:Post:getAsidePosts')) }}
  </div>
  {{ render(controller('SiteBundle:Newsletter:subscribe')) }}
</aside>

{'fraction_non_alphanumeric': 0.20877405930293047, 'fraction_numerical': 0.008323218311080285, 'mean_word_length': 2.884175084175084, 'pattern_counts': {'":': 0, '<': 99, '<?xml version=': 0, '>': 99, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4046439', 'n_tokens_mistral': 2029, 'n_tokens_neox': 1904, 'n_words': 360}