<commit_before>{% for link in site.data.navigation %}
<div class="navigation tile">
  <a href="{{ link.url }}" title="{{ link.title }}" class="post-teaser">

  {% if link.image %}
    <img src="{{ site.url }}/images{{ link.image }}" alt="teaser" class="navigation teaser" itemprop="image">
  {% endif %}

    <a href="{{ link.url }}"><h2 class="post-title" itemprop="name">{{ link.title }}</h2></a>
    <p class="post-excerpt" itemprop="description">{{ link.excerpt | strip_html | truncate: 160 }}</p>
  </a>
</div><!-- /.tile -->
{% endfor %}<commit_msg>Update nav grid to better handle links<commit_after>{% for link in site.data.navigation %}
<div class="navigation tile">
  <a href="{{ link.url }}" title="{{ link.title }}" class="post-teaser">

  {% if link.image %}
    <img src="{{ site.url }}/images{{ link.image }}" alt="teaser" class="navigation teaser" itemprop="image">
  {% endif %}

  {% if link.url contains 'http' %}
    <a href="{{ link.url }}" target="_blank"><h2 class="post-title" itemprop="name">{{ link.title }}</h2></a>
  {% else %}
    <a href="{{ site.url }}{{ link.url }}"><h2 class="post-title" itemprop="name">{{ link.title }}</h2></a>
  {% endif %}
    <p class="post-excerpt" itemprop="description">{{ link.excerpt | strip_html | truncate: 160 }}</p>

  </a>
</div><!-- /.tile -->
{% endfor %}
{'fraction_non_alphanumeric': 0.25018896447467875, 'fraction_numerical': 0.009070294784580499, 'mean_word_length': 4.131782945736434, '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': '6486613', 'n_tokens_mistral': 484, 'n_tokens_neox': 445, 'n_words': 113}