 reverse %}
      {% for sorted_tag in sorted_tags %}
        {% assign parts = sorted_tag | split: ':' %}
        {% assign tag_name = parts[1] | strip %}
        {% assign tag_count = parts[2] | strip %}
        <button class="tag-button" data-tag="{{ tag_name }}">
          {{ tag_name }} ({{ tag_count }})
        </button>
      {% endfor %}
    </div>
  </header>

  <main id="content" class="main-content" role="main">
    <!-- Post listing -->
    <div class="posts-container">
      {% for post in site