<commit_before>---
layout: page
title: Blog Archive
permalink: /archive/
banner_image: sample-banner-image-3.jpg
---

<div>
  {% for post in site.posts %}
    {% capture currentyear %}{{post.date | date: "%Y"}}{% endcapture %}
    {% if currentyear != year %}
      {% unless forloop.first %}
      </ul>
      {% endunless %}
      <h5>{{ currentyear }}</h5>
      <ul>
      {% capture year %}{{currentyear}}{% endcapture %} 
    {% endif %}
    <li><a href="{{ post.url | prepend: site.url }}">{{ post.title }}</a></li>
  {% endfor %}
  </ul>
</div><commit_msg>Try changing the structure to always start with ul.<commit_after>---
layout: page
title: Blog Archive
permalink: /archive/
banner_image: sample-banner-image-3.jpg
---

<div>
  <ul>
  {% for post in site.posts %}
    {% capture currentyear %}{{post.date | date: "%Y"}}{% endcapture %}
    {% if currentyear != year %}
      <!-- {% unless forloop.first %} -->
      </ul>
      <!-- {% endunless %} -->
      <h5>{{ currentyear }}</h5>
      <ul>
      {% capture year %}{{currentyear}}{% endcapture %} 
    {% endif %}
    <li><a href="{{ post.url | prepend: site.url }}">{{ post.title }}</a></li>
  {% endfor %}
  </ul>
</div>
{'fraction_non_alphanumeric': 0.22418136020151133, 'fraction_numerical': 0.005037783375314861, 'mean_word_length': 2.6452599388379205, 'pattern_counts': {'":': 0, '<': 28, '<?xml version=': 0, '>': 28, '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': '4753053', 'n_tokens_mistral': 447, 'n_tokens_neox': 420, 'n_words': 102}