<commit_before>{% load humfrey_elasticsearch %}{% with previous_page=page|add:"-1" next_page=page|add:"1" %}{% if page_count > 1 %}
  <p style="text-align: center; vertical-align: middle; line-height:1em; clear:right">
  {% if page != 1 %}
    <a style="font-size: 300%; vertical-align: middle" href="{% set_parameter "" "page" previous_page %}">«</a>
  {% endif %}
  {% for other_page in pages %}
  {% if other_page %}
  {% if other_page == page %}
    <strong style="vertical-align: middle">{{ other_page }}</strong>
  {% else %}
    <a style="vertical-align: middle" href="{% set_parameter "" "page" other_page %}">{{ other_page }}</a>
  {% endif %}
  {% else %}&hellip;{% endif %}
  {% endfor %}
  {% if page != page_count %}
    <a style="font-size: 300%; vertical-align: middle" href="{% set_parameter "" "page" next_page %}">»</a>
  {% endif %}
  </p>
{% endif %}{% endwith %}<commit_msg>Tidied up elasticsearch pagination links.<commit_after>{% load humfrey_elasticsearch %}{% with previous_page=page|add:"-1" next_page=page|add:"1" %}{% if page_count > 1 %}
  <p style="text-align: center; vertical-align: middle; line-height:1em; clear:right">
  {% if page != 1 %}
    <a class="pagination pagination-previous" href="{% set_parameter "" "page" previous_page %}">«</a>
  {% endif %}
  {% for other_page in pages %}
  {% if other_page %}
  {% if other_page == page %}
    <strong>{{ other_page }}</strong>
  {% else %}
    <a class="pagination pagination-page" href="{% set_parameter "" "page" other_page %}">{{ other_page }}</a>
  {% endif %}
  {% else %}&hellip;{% endif %}
  {% endfor %}
  {% if page != page_count %}
    <a class="pagination pagination-next" href="{% set_parameter "" "page" next_page %}">»</a>
  {% endif %}
  </p>
{% endif %}{% endwith %}
{'fraction_non_alphanumeric': 0.21763708309779536, 'fraction_numerical': 0.009044657998869417, 'mean_word_length': 4.315315315315315, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 25, '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': '4891350', 'n_tokens_mistral': 689, 'n_tokens_neox': 603, 'n_words': 154}