<commit_before>{% spaceless %}
<!doctype html>
<!--[if IE 8]>         <html class="no-js lt-ie9" lang="{{ app.locale }}"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="{{ app.locale }}"> <!--<![endif]-->
    <head>
        <meta charset="utf-8">
        <title>{% block title %}{% endblock %}</title>
        <meta name="description" content="{{ 'app.description'|trans }}">
        <meta name="viewport" content="width=device-width, initial-scale=1">

        <link rel="icon" type="image/x-icon" href="{{ '//' ~ constant('STATIC_HOST') }}/favicon.ico" />

        <link rel="alternate" href="{{ url(app.request.attributes.get('_route')) }}" hreflang="x-default" />

        {% for locale in app.locales %}
            <link rel="alternate" href="{{ url(app.request.attributes.get('_route'), { locale: locale }) }}" hreflang="{{ locale }}" />
        {% endfor %}

        {% block css %}
            {% if constant('DEBUG') %}
                {{ css('vendor/bootstrap/dist/css/bootstrap')|raw }}<commit_msg>cache hreflang links<commit_after>{% spaceless %}
<!doctype html>
<!--[if IE 8]>         <html class="no-js lt-ie9" lang="{{ app.locale }}"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="{{ app.locale }}"> <!--<![endif]-->
    <head>
        <meta charset="utf-8">
        <title>{% block title %}{% endblock %}</title>
        <meta name="description" content="{{ 'app.description'|trans }}">
        <meta name="viewport" content="width=device-width, initial-scale=1">

        <link rel="icon" type="image/x-icon" href="{{ '//' ~ constant('STATIC_HOST') }}/favicon.ico" />

        {% cache 'head' 'hreflang' %}
            <link rel="alternate" href="{{ url(app.request.attributes.get('_route')) }}" hreflang="x-default" />

            {% for locale in app.locales %}
                <link rel="alternate" href="{{ url(app.request.attributes.get('_route'), { locale: locale }) }}" hreflang="{{ locale }}" />
            {% endfor %}
        {% endcache %}

        {% block css %}
            {% if constant('DEBUG') %}
                {{ css('vendor/bootstrap/dist/css/bootstrap')|raw }}
{'fraction_non_alphanumeric': 0.2380506091846298, 'fraction_numerical': 0.004686035613870665, 'mean_word_length': 2.765432098765432, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 37, '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': '3716459', 'n_tokens_mistral': 705, 'n_tokens_neox': 651, 'n_words': 140}