<commit_before><ul class="horizontal unstyled clearfix">
  {% for link in linklists.main-menu.links %}

    {% assign link_active = false %}

    {% if link.active %}
      {% assign link_active = true %}
    {% endif %}

    {% if link.title == "Store" && template == 'index' %}
      {% assign link_active = true %}
    {% endif %}

    <li class="{% if link_active %}current{% endif %} navigation-{{ link.handle }}">
      <a href="{{ link.url }}">
        <span>{{ link.title }}</span>
      </a>

      {% if link.title == 'Store' %}
        <ul class="subnav">

          {% for collection in collections %}
            {% if collection.handle == 'all' %}
              {% include 'collection-nav-item' with collection %}
            {% endif %}
          {% endfor %}

          {% for collection in collections %}
            {% if collection.handle != 'all' and collection.handle != 'frontpage' %}
              {% include 'collection-nav-item' with collection %}
            {% endif %}
          {% endfor %}

        </ul>
      {% endif %}

      {% if link.title == 'Projects' %}
        <ul class="subnav">
          {% for tag in blog.all_tags %}
            <li {% if current_tags contains tag %}class="current"{% endif %}>{{ tag | link_to_tag: tag }}</li>
          {% endfor %}
        </ul>
      {% endif %}

    </li>
  {% endfor %}
</ul>
<commit_msg>fix navigation issues<commit_after><ul class="horizontal unstyled clearfix">
  {% for link in linklists.main-menu.links %}

    {% assign link_active = false %}

    {% if link.active %}
      {% assign link_active = true %}
    {% endif %}

    {% if link.title == "Store" and template == 'index' %}
      {% assign link_active = true %}
    {% endif %}

    <li class="{% if link_active %}current{% endif %} navigation-{{ link.handle }}">
      <a href="{{ link.url }}">
        <span>{{ link.title }}</span>
      </a>

      {% if link.title == 'Store' %}
        <ul class="subnav">

          {% for collection in collections %}
            {% if collection.handle == 'all' %}
              {% include 'collection-nav-item' with collection %}
            {% endif %}
          {% endfor %}

          {% for collection in collections %}
            {% if collection.handle != 'all' and collection.handle != 'frontpage' %}
              {% include 'collection-nav-item' with collection %}
            {% endif %}
          {% endfor %}

        </ul>
      {% endif %}

      {% if link.title == 'Projects' %}
        <ul class="subnav">
          {% for tag in blog.all_tags %}
            {% assign tag_name = tag | downcase %}

            {% capture classes %}
              {% for t in current_tags %}
                {% assign tname = t | downcase %}
                {% if tname == tag_name %}
                  current
                {% endif %}
              {% endfor %}
            {% endcapture %}
            <li class="{{ classes }}">{{ tag | link_to_tag: tag }}</li>
          {% endfor %}
        </ul>
      {% endif %}

    </li>
  {% endfor %}
</ul>

{'fraction_non_alphanumeric': 0.17197243190022973, 'fraction_numerical': 0.0, 'mean_word_length': 1.7238605898123325, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 31, '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': '4523219', 'n_tokens_mistral': 996, 'n_tokens_neox': 825, 'n_words': 226}