<commit_before>---
layout: default
description: A personal blog about design, technology, music and procrastination.
---

{% for post in paginator.posts %}
<article class="post" role="article" itemscope itemtype="http://schema.org/Article">
  <header>
    {% if post.link %}
      <h2 itemprop="name"><a rel="external" href="{{ post.link }}">{{ post.title }} <span class="link-arrow">&rarr;</span></a></h2>
      {% else %}
      <h2 itemprop="name"><a href="{{ post.url }}">{{ post.title }}</a></h2>
    {% endif %}

    <p>
      <time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date_to_string }}</time> &middot; 
      <a href="{{ post.url }}" class="permalink">&infin;</a>
    </p>
  </header>
  <div itemprop="articleBody">
    {{ post.content }}
  </div>
</article>
{% endfor %}

<!-- Pagination links -->
<nav class="paginator">
  {% if paginator.next_page %} 
    <a href="/page{{ paginator.next_page }}/" title="Older entries">&laquo; Older</a>
  {% endif %} 

  {% if paginator.previous_page %}
    {% if paginator.previous_page == 1 %}
    <a href="/" title="Newer entries">Newer  &raquo;</a>
    {% else %}
    <a href="/page{{ paginator.previous_page }}/" title="Newer entries">Newer &raquo;</a>
    {% endif %}
  {% endif %}
</nav><commit_msg>improve paginator semantics<commit_after>---
layout: default
description: A personal blog about design, technology, music and procrastination.
---

{% for post in paginator.posts %}
<article class="post" role="article" itemscope itemtype="http://schema.org/Article">
  <header>
    {% if post.link %}
      <h2 itemprop="name"><a rel="external" href="{{ post.link }}">{{ post.title }} <span class="link-arrow">&rarr;</span></a></h2>
      {% else %}
      <h2 itemprop="name"><a href="{{ post.url }}">{{ post.title }}</a></h2>
    {% endif %}

    <p>
      <time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date_to_string }}</time> &middot; 
      <a href="{{ post.url }}" class="permalink">&infin;</a>
    </p>
  </header>
  <div itemprop="articleBody">
    {{ post.content }}
  </div>
</article>
{% endfor %}

<!-- Pagination links -->
<nav class="paginator">
  {% if paginator.next_page %} 
    <a rel="next" href="/page{{ paginator.next_page }}/" title="Older entries">&laquo; Older</a>
  {% endif %} 

  {% if paginator.previous_page %}
    {% if paginator.previous_page == 1 %}
    <a rel="prev" href="/" title="Newer entries">Newer  &raquo;</a>
    {% else %}
    <a rel="prev" href="/page{{ paginator.previous_page }}/" title="Newer entries">Newer &raquo;</a>
    {% endif %}
  {% endif %}
</nav>
{'fraction_non_alphanumeric': 0.2235475182762601, 'fraction_numerical': 0.003847633705271258, 'mean_word_length': 3.56140350877193, 'pattern_counts': {'":': 0, '<': 65, '<?xml version=': 0, '>': 65, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '2579043', 'n_tokens_mistral': 953, 'n_tokens_neox': 866, 'n_words': 194}