<commit_before>{% extends 'index.html.twig' %}

{% block content %}
<h1>Le blog</h1>
<div class="posts">
{% if page.pagination is defined %}
{% for post in page.pagination.pages %}
  <div class="post">
    <h2 class="post-title"><a href="{{ url(post) }}">{{ post.title }}</a></h2>
    {#<span class="post-date">{{ post.date|date("j M Y") }}</span>#}
    <span class="post-date">{{ page.date|localizeddate('long', 'none') }}</span>
{% set readtime = readtime(post.content) %}
{% if readtime < 1 %}{% set readtime = "1" %}{% endif %}
    <span class="post-readtime"> &middot; <svg width="16" height="16" class="icon icon-clock"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-clock"></use></svg> {{ readtime }} min</span>
{% if post.tags is defined %}
    <span class="post-tags"> &middot;
{% for tag in post.tags|slice(0, 1) %}
      <a href="{{ url('tags/' ~ tag) }}">#{{ tag }}</a>
{% endfor %}
    </span>
{% endif %}
{# if post.image is defined %}
    <a href="{{ url(post) }}"><img class="center" src="{{ url(post.image) }}" alt="Image d'illustration"></a>
{% endif #}
    {{ post.content|excerptHtml }}
    <footer class="readmore">
      <a href="{{ url(post) }}">Lire le billet ›</a>
    </footer>
    <footer class="tags">
{% if post.tags is defined %}
{% for tag in post.tags %}
      <a href="{{ url('tags/' ~ tag) }}">#{{ tag }}</a>&nbsp;
{% endfor %}
{% endif %}
    </footer>
  </div>
  <hr /><commit_msg>Update blog.html.twig<commit_after>{% extends 'index.html.twig' %}

{% block content %}
<h1>Le blog</h1>
<div class="posts">
{% if page.pagination is defined %}
{% for post in page.pagination.pages %}
  <div class="post">
    <h2 class="post-title"><a href="{{ url(post) }}">{{ post.title }}</a></h2>
    {#<span class="post-date">{{ post.date|date("j M Y") }}</span>#}
    <span class="post-date">{{ post.date|localizeddate('long', 'none') }}</span>
{% set readtime = readtime(post.content) %}
{% if readtime < 1 %}{% set readtime = "1" %}{% endif %}
    <span class="post-readtime"> &middot; <svg width="16" height="16" class="icon icon-clock"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-clock"></use></svg> {{ readtime }} min</span>
{% if post.tags is defined %}
    <span class="post-tags"> &middot;
{% for tag in post.tags|slice(0, 1) %}
      <a href="{{ url('tags/' ~ tag) }}">#{{ tag }}</a>
{% endfor %}
    </span>
{% endif %}
{# if post.image is defined %}
    <a href="{{ url(post) }}"><img class="center" src="{{ url(post.image) }}" alt="Image d'illustration"></a>
{% endif #}
    {{ post.content|excerptHtml }}
    <footer class="readmore">
      <a href="{{ url(post) }}">Lire le billet ›</a>
    </footer>
    <footer class="tags">
{% if post.tags is defined %}
{% for tag in post.tags %}
      <a href="{{ url('tags/' ~ tag) }}">#{{ tag }}</a>&nbsp;
{% endfor %}
{% endif %}
    </footer>
  </div>
  <hr />
{'fraction_non_alphanumeric': 0.2604166666666667, 'fraction_numerical': 0.011805555555555555, 'mean_word_length': 3.8996598639455784, 'pattern_counts': {'":': 0, '<': 75, '<?xml version=': 0, '>': 73, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, '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': '665243', 'n_tokens_mistral': 1133, 'n_tokens_neox': 1045, 'n_words': 251}