<commit_before>{% if pageCount > 1 %}
    <div class="pagination">

        {% block first %}
            {% if first is defined and current != first and current > 0 and first not in pagesInRange %}
                <span class="first">
                    <a href="{{ path(route, query|merge({(pageParameterName): first})) }}">{% trans %}pagination.first{% endtrans %}</a>
                </span>
            {% endif %}
        {% endblock %}

        {% block previous %}
            {% if previous is defined and first|default not in pagesInRange %}
                <span class="previous">
                    <a href="{{ path(route, query|merge({(pageParameterName): previous})) }}">{% trans %}pagination.previous{% endtrans %}</a>
                </span>
            {% endif %}
        {% endblock %}

        {% block pages %}
            {% for page in pagesInRange %}
                {% if page != current %}
                    <span class="page">
                        <a href="{{ path(route, query|merge({(pageParameterName): page})) }}">{% trans with {'%page%': page} %}pagination.page{% endtrans %}</a>
                    </span>
                {% else %}
                    <span class="current">{% trans with {'%page%': page} %}pagination.page{% endtrans %}</span>
                {% endif %}
            {% endfor %}
        {% endblock %}

        {% block next %}
            {% if next is defined and current > 0 and last|default not in pagesInRange %}
                <span class="next">
                    <a href="{{ path(route, query|merge({(pageParameterName): next})) }}">{% trans %}pagination.next{% endtrans %}</a>
                </span>
            {% endif %}
        {% endblock %}

        {% block last %}
            {% if last is defined and current != last and last not in pagesInRange %}
                <span class="last">
                    <a href="{{ path(route, query|merge({(pageParameterName): last})) }}">{% trans %}pagination.last{% endtrans %}</a>
                </span>
            {% endif %}
        {% endblock %}

        {% block all %}
            {% if 0 == current %}
                <span class="all">{% trans %}pagination.all{% endtrans %}</span>
            {% else %}
                <span class="all">
                    <a href="{{ path(route, query|merge({(pageParameterName): 0})) }}">{% trans %}pagination.all{% endtrans %}</a>
                </span>
            {% endif %}
        {% endblock %}

    </div><commit_msg>Add default pagination template.<commit_after>{% if pageCount > 1 %}
    <div class="pagination">

        {% block first %}
            {% if first is defined and current != first and current > 0 and first not in pagesInRange %}
                <span class="first">
                    <a href="{{ path(route, query|merge({(pageParameterName): first})) }}">{% trans %}pagination.first{% endtrans %}</a>
                </span>
            {% endif %}
        {% endblock %}

        {% block previous %}
            {% if previous is defined and first|default not in pagesInRange %}
                <span class="previous">
                    <a href="{{ path(route, query|merge({(pageParameterName): previous})) }}">{% trans %}pagination.previous{% endtrans %}</a>
                </span>
            {% endif %}
        {% endblock %}

        {% block pages %}
            {% for page in pagesInRange %}
                {% if page != current %}
                    <span class="page">
                        <a href="{{ path(route, query|merge({(pageParameterName): page})) }}">{% trans with {'%page%': page} %}pagination.page{% endtrans %}</a>
                    </span>
                {% else %}
                    <span class="current">{% trans with {'%page%': page} %}pagination.page{% endtrans %}</span>
                {% endif %}
            {% endfor %}
        {% endblock %}

        {% block next %}
            {% if next is defined and current > 0 and last|default not in pagesInRange %}
                <span class="next">
                    <a href="{{ path(route, query|merge({(pageParameterName): next})) }}">{% trans %}pagination.next{% endtrans %}</a>
                </span>
            {% endif %}
        {% endblock %}

        {% block last %}
            {% if last is defined and current != last and last not in pagesInRange %}
                <span class="last">
                    <a href="{{ path(route, query|merge({(pageParameterName): last})) }}">{% trans %}pagination.last{% endtrans %}</a>
                </span>
            {% endif %}
        {% endblock %}

        {% block all %}
            {% if 0 != current %}
                <span class="all">
                    <a href="{{ path(route, query|merge({(pageParameterName): 0})) }}">{% trans %}pagination.all{% endtrans %}</a>
                </span>
            {% else %}
                <span class="all">{% trans %}pagination.all{% endtrans %}</span>
            {% endif %}
        {% endblock %}

    </div>
{'fraction_non_alphanumeric': 0.17095551565928585, 'fraction_numerical': 0.001994813484939158, 'mean_word_length': 1.6347871781397794, 'pattern_counts': {'":': 0, '<': 63, '<?xml version=': 0, '>': 69, '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': '3813792', 'n_tokens_mistral': 1474, 'n_tokens_neox': 1229, 'n_words': 366}