<commit_before><div class="node-news">
    <div class="grey-area-title">
        {% include directory ~ "/components/title-line/title-line.html.twig" with {
        title:node.getTitle(),
        } only %}
    </div>
    <div class="white-area">
        <div class="container">
            <div class="row">
                <div class="col-md-8 content-left">
                    <div class="row">
                        <div class="col-md-9 col-lg-10">
                            <div class="news-title">{{ node.getTitle() }}</div>
                            <div class="news-info"><strong>{{ "Par"|t }}</strong> <span
                                        class="news-author">{{ author_name }}</span> <span
                                        class="news-date">{{ "le"|t }} {{ node.getCreatedTime()|date("d.m.Y") }}</span>
                            </div>
                        </div>
                        <div class="col-md-3 col-lg-2 news-share">
                            <a href="https://www.facebook.com/sharer/sharer.php?u=http://{{ host  ~ url }}"
                               target="_blank" class="news-facebook">
                                <i class="fa fa-facebook" aria-hidden="true"></i>
                            </a>
                            <a href="https://twitter.com/home?status=http://{{ host  ~ url }}" target="_blank"
                               class="news-twitter">
                                <i class="fa fa-twitter" aria-hidden="true"></i>
                            </a>
                        </div>
                    </div>
                    <div class="row">
                        {% if(node.field_news_show_image.value) %}
                            <div class="col-md-10 col-md-offset-1">
                                {% if (node.field_news_image.entity.uri.value) %}
                                    <div class="news-image"
                                         style="background-image:url('{{ file_url(node.field_news_image.entity.uri.value) }}')"></div>
                                {% elseif(node.field_news_tournament.target_id) %}
                                    <div class="news-image"
                                         style="background-image:url('{{ file_url(node.field_news_tournament.entity.field_tournament_image.entity.uri.value) }}')"></div>
                                {% elseif(node.field_game.entity.getImageUri()) %}
                                    <div class="news-image"
                                         style="background-image:url('{{ file_url(node.field_game.entity.getImageUri()) }}')"></div>
                                {% elseif(node.field_news_edition.target_id) %}
                                    <div class="news-image"
                                         style="background-image:url('{{ file_url(node.field_news_edition.entity.field_edition_image.entity.uri.value) }}')"></div>
                                {% else %}
                                    <div class="news-image"
                                         style="background-image:url('{{ file_url(nodeImage) }}')"></div>
                                {% endif %}
                            </div>
                        {% endif %}
                        <div class="col-md-12">
                            <div class="news-content">{{ node.get('field_news_content').value | raw }}</div>
                        </div>
                    </div>
                </div>
                <div class="col-md-4 content-right blue-area">
                    <div class="row">
                        <div class="col-md-12">
                            {% include directory ~ '/components/title-line/title-line.html.twig' with {
                            title:"Dernières Actualités"|t,
                            } only %}
                        </div>
                    </div>

                    {% for new in lastNews %}
                        <div class="row">
                            <div class="col-md-12 news-main">
                                <a href="{{ new.url }}">
                                    <div class="row">
                                        <div class="col-xs-4 news-left">
                                            <div class="news-image"
                                                 style="background-image:url('{{ file_url(new.image) }}')">
                                            </div>
                                            <div class="news-type"
                                                 {% if(new.color) %}style="background-color:{{ new.color }}" {% endif %}>
                                                {% if(new.field_news_tournament.target_id) %}
                                                    {{ new.field_news_tournament.entity.getTitle() }}
                                                {% elseif(new.field_game.entity.getImageUri()) %}
                                                    {{ new.field_game.entity.label() }}
                                                {% elseif(new.field_news_edition.target_id) %}
                                                    {{ new.field_news_edition.entity.getName()}}
                                                {% else %}
                                                    Futurolan
                                                {% endif %}
                                            </div>
                                        </div>
                                        <div class="col-xs-8 news-right">
                                            <div class="news-background">
                                                <div class="news-title">
                                                    {{ new.title }}
                                                </div>
                                                <div class="news-date">{{ new.date|date("d/m/Y") }}</div><commit_msg>Fix subtitle bug on News page<commit_after><div class="node-news">
    <div class="grey-area-title">
        {% include directory ~ "/components/title-line/title-line.html.twig" with {
        title:node.getTitle(),
        } only %}
    </div>
    <div class="white-area">
        <div class="container">
            <div class="row">
                <div class="col-md-8 content-left">
                    <div class="row">
                        <div class="col-md-9 col-lg-10">
                            <div class="news-title">{{ node.getTitle() }}</div>
                            <div class="news-info"><strong>{{ "Par"|t }}</strong> <span
                                        class="news-author">{{ author_name }}</span> <span
                                        class="news-date">{{ "le"|t }} {{ node.getCreatedTime()|date("d.m.Y") }}</span>
                            </div>
                        </div>
                        <div class="col-md-3 col-lg-2 news-share">
                            <a href="https://www.facebook.com/sharer/sharer.php?u=http://{{ host  ~ url }}"
                               target="_blank" class="news-facebook">
                                <i class="fa fa-facebook" aria-hidden="true"></i>
                            </a>
                            <a href="https://twitter.com/home?status=http://{{ host  ~ url }}" target="_blank"
                               class="news-twitter">
                                <i class="fa fa-twitter" aria-hidden="true"></i>
                            </a>
                        </div>
                    </div>
                    <div class="row">
                        {% if(node.field_news_show_image.value) %}
                            <div class="col-md-10 col-md-offset-1">
                                {% if (node.field_news_image.entity.uri.value) %}
                                    <div class="news-image"
                                         style="background-image:url('{{ file_url(node.field_news_image.entity.uri.value) }}')"></div>
                                {% elseif(node.field_news_tournament.target_id) %}
                                    <div class="news-image"
                                         style="background-image:url('{{ file_url(node.field_news_tournament.entity.field_tournament_image.entity.uri.value) }}')"></div>
                                {% elseif(node.field_game.entity.getImageUri()) %}
                                    <div class="news-image"
                                         style="background-image:url('{{ file_url(node.field_game.entity.getImageUri()) }}')"></div>
                                {% elseif(node.field_news_edition.target_id) %}
                                    <div class="news-image"
                                         style="background-image:url('{{ file_url(node.field_news_edition.entity.field_edition_image.entity.uri.value) }}')"></div>
                                {% else %}
                                    <div class="news-image"
                                         style="background-image:url('{{ file_url(nodeImage) }}')"></div>
                                {% endif %}
                            </div>
                        {% endif %}
                        <div class="col-md-12">
                            <div class="news-content">{{ node.get('field_news_content').value | raw }}</div>
                        </div>
                    </div>
                </div>
                <div class="col-md-4 content-right blue-area">
                    <div class="row">
                        <div class="col-md-12">
                            {% include directory ~ '/components/title-line/title-line.html.twig' with {
                            title:"Dernières Actualités"|t,
                            } only %}
                        </div>
                    </div>

                    {% for new in lastNews %}
                        <div class="row">
                            <div class="col-md-12 news-main">
                                <a href="{{ new.url }}">
                                    <div class="row">
                                        <div class="col-xs-4 news-left">
                                            <div class="news-image"
                                                 style="background-image:url('{{ file_url(new.image) }}')">
                                            </div>
                                            <div class="news-type"
                                                 {% if(new.color) %}style="background-color:{{ new.color }}" {% endif %}>
                                                {{ new.subtitle }}
                                            </div>
                                        </div>
                                        <div class="col-xs-8 news-right">
                                            <div class="news-background">
                                                <div class="news-title">
                                                    {{ new.title }}
                                                </div>
                                                <div class="news-date">{{ new.date|date("d/m/Y") }}</div>
{'fraction_non_alphanumeric': 0.13238162794821776, 'fraction_numerical': 0.0031920553289590354, 'mean_word_length': 0.8447824664703958, 'pattern_counts': {'":': 0, '<': 145, '<?xml version=': 0, '>': 145, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 140, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1565898', 'n_tokens_mistral': 2592, 'n_tokens_neox': 2426, 'n_words': 378}