<commit_before>{% set color = null %}
{% set icon = null %}

{% if article.mainTaxon %}
    {% set color = article.mainTaxon.color %}
    {% set icon = article.mainTaxon.iconClass %}
{% endif %}

<div class="img-box-4-item">
    <div class="img-container">
        <a href="{{ path('app_frontend_article_show', {'name': article.name} ) }}" class="lightbox"><img
                    src="{{ article.imagePath|imagine_filter('cmf_full') }}" alt=""
                    class="img-responsive"></a>

    </div>
    <div class="img-box-4-content">
        {% if icon %}
            <a href="{{ path('app_frontend_article_index_by_taxon', {'permalink': article.mainTaxon.permalink} ) }}">
                <i class="{{ icon }} bg-{{ color|default('color') }}"></i>
            </a>
        {% endif %}
        <h4><a href="#">{{ article }}</a></h4>
        <div class="bor bg-{{ color|default('color') }}"></div>
        <p>Publié le {{ article.publishStartDate|localizeddate('short', 'none') }}</p>

        <div class="magazine-meta">
            <i class="fa fa-eye"></i> {{ article.viewCount }}
            - <i class="fa fa-comments"></i> {{ article.topic ? article.topic.postCount : 0 }}
        </div>
    </div>
</div><commit_msg>fix link to article show page on article list<commit_after>{% set color = null %}
{% set icon = null %}

{% if article.mainTaxon %}
    {% set color = article.mainTaxon.color %}
    {% set icon = article.mainTaxon.iconClass %}
{% endif %}

<div class="img-box-4-item">
    <div class="img-container">
        <a href="{{ path('app_frontend_article_show', {'name': article.name} ) }}"><img
                    src="{{ article.imagePath|imagine_filter('cmf_full') }}" alt=""
                    class="img-responsive"></a>

    </div>
    <div class="img-box-4-content">
        {% if icon %}
            <a href="{{ path('app_frontend_article_index_by_taxon', {'permalink': article.mainTaxon.permalink} ) }}">
                <i class="{{ icon }} bg-{{ color|default('color') }}"></i>
            </a>
        {% endif %}
        <h4><a href="{{ path('app_frontend_article_show', {'name': article.name} ) }}">{{ article }}</a></h4>
        <div class="bor bg-{{ color|default('color') }}"></div>
        <p>Publié le {{ article.publishStartDate|localizeddate('short', 'none') }}</p>

        <div class="magazine-meta">
            <i class="fa fa-eye"></i> {{ article.viewCount }}
            - <i class="fa fa-comments"></i> {{ article.topic ? article.topic.postCount : 0 }}
        </div>
    </div>
</div>
{'fraction_non_alphanumeric': 0.21315996847911742, 'fraction_numerical': 0.003940110323089046, 'mean_word_length': 2.596317280453258, 'pattern_counts': {'":': 0, '<': 57, '<?xml version=': 0, '>': 57, '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': '6034098', 'n_tokens_mistral': 853, 'n_tokens_neox': 801, 'n_words': 164}