<commit_before>---
layout: default
---

<article class="archive__article">
  <h2>{{ page.title | escape }}</h2>

  {% assign running_year = "" %}

  <ul class="archive">
  {% for post in page.posts %}
    {% if page.archive_variant == "global" %}
      {% assign post_year = post.date | date: "%Y" %}
      {% if running_year != post_year %}
      </ul>
      <h3>{{ post_year }}</h3>
      <ul class="archive">
      {% endif %}
      {% assign running_year = post_year %}
    {% endif %}
    <li>
      <div>
        <div class="archive__date">
          {{ post.date | date: "%-d %b" }}
        </div>
        <div class="archive__url">
          <a href="{{ post.url }}">{{ post.title }}</a>
        </div>
      </div>
    </li>
  {% endfor %}
  </ul>

  {% if page.archive_variant == "yearly" %}
    <p>
      You can also read <a href="/archive/">the complete archive</a>.
    </p>
  {% elsif page.archive_variant == "monthly" %}
    <p>
      You can also see <a href="/{{ page.year }}/">other posts from this year</a> or read <a href="/archive/">the complete archive</a>.
    </p>
  {% endif %}
</article><commit_msg>archive: link to the tag pages<commit_after>---
layout: page
---

{% if page.archive_variant == "yearly" %}
<p>
  You can also read <a href="/archive/">the complete archive</a>.
</p>
{% elsif page.archive_variant == "monthly" %}
<p>
  You can also see <a href="/{{ page.year }}/">other posts from this year</a> or read <a href="/archive/">the complete archive</a>.
</p>
{% elsif page.archive_variant == "global" %}
<p>You can also browse my posts <a href="/tags/">by tag</a>.</p>
{% endif %}

{% assign running_year = "" %}

<ul class="archive">
{% for post in page.posts %}
{% if page.archive_variant == "global" %}
  {% assign post_year = post.date | date: "%Y" %}
  {% if running_year != post_year %}
  </ul>
  <h2>{{ post_year }}</h2>
  <ul class="archive">
  {% endif %}
  {% assign running_year = post_year %}
{% endif %}
<li>
  <div>
    <div class="archive__date">
      {{ post.date | date: "%-d %b" }}
    </div>
    <div class="archive__url">
      <a href="{{ post.url }}">{{ post.title }}</a>
    </div>
  </div>
</li>
{% endfor %}
</ul>
{'fraction_non_alphanumeric': 0.2182904411764706, 'fraction_numerical': 0.0027573529411764708, 'mean_word_length': 2.6711635750421587, 'pattern_counts': {'":': 0, '<': 63, '<?xml version=': 0, '>': 63, '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': '2328480', 'n_tokens_mistral': 819, 'n_tokens_neox': 751, 'n_words': 205}