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

{% assign post = page %}

<article class="post">
  <h1>{{page.title}}</h1>

  <p class='info'>      
    {% if post.category %}
      {% for site_category in site.data.categories %}
        {% if site_category.slug == post.category %}
          {% assign category = site_category %}
        {% endif %}
      {% endfor %}
      {% if category %}
        {% capture category_content %} in <span class="label" style="background-color:{{ category.color }}"><a href="/blog/category/{{ category.slug }}/">{{ category.name }}</a></span>{% endcapture %}
      {% endif %}
    {% else %}
      {% assign category_content = '' %}
    {% endif %}

    {% if post.tags.size > 0 %}
      {% capture tags_content %} with tags: {% endcapture %}
      {% for post_tag in post.tags %}
          {% for data_tag in site.data.tags %}
            {% if data_tag.slug == post_tag %}
              {% assign tag = data_tag %}
            {% endif %}
          {% endfor %}
          {% if tag %}
            {% capture tags_content_temp %}{{ tags_content }}<a href="/blog/tag/{{ tag.slug }}/">{{ tag.name }}</a>{% if forloop.last == false %}, {% endif %}{% endcapture %}
            {% assign tags_content = tags_content_temp %}
          {% endif %}
      {% endfor %}
    {% else %}
      {% assign tags_content = '' %}
    {% endif %}

    <span>{{page.date | date: "%B %d, %Y" }}</span>
    /
    <span>by {{page.author}}</span>    
    /
    <span>Posted {{ category_content }}{{ tags_content }}</span>
  </p>

  <hr/>
  
  <div class="entry">
    {{ content }}
  </div>

  {% include disqus.html %}
</article><commit_msg>linebreak<commit_after>---
layout: default
---

{% assign post = page %}

<article class="post">
  <h1>{{page.title}}</h1>

  <p class='info'>      
    {% if post.category %}
      {% for site_category in site.data.categories %}
        {% if site_category.slug == post.category %}
          {% assign category = site_category %}
        {% endif %}
      {% endfor %}
      {% if category %}
        {% capture category_content %} in <span class="label" style="background-color:{{ category.color }}"><a href="/blog/category/{{ category.slug }}/">{{ category.name }}</a></span>{% endcapture %}
      {% endif %}
    {% else %}
      {% assign category_content = '' %}
    {% endif %}

    {% if post.tags.size > 0 %}
      {% capture tags_content %} with tags: {% endcapture %}
      {% for post_tag in post.tags %}
          {% for data_tag in site.data.tags %}
            {% if data_tag.slug == post_tag %}
              {% assign tag = data_tag %}
            {% endif %}
          {% endfor %}
          {% if tag %}
            {% capture tags_content_temp %}{{ tags_content }}<a href="/blog/tag/{{ tag.slug }}/">{{ tag.name }}</a>{% if forloop.last == false %}, {% endif %}{% endcapture %}
            {% assign tags_content = tags_content_temp %}
          {% endif %}
      {% endfor %}
    {% else %}
      {% assign tags_content = '' %}
    {% endif %}

    <span>{{page.date | date: "%B %d, %Y" }}</span>
    /
    <span>by {{page.author}}</span>    
    <br/>
    <span>Posted {{ category_content }}{{ tags_content }}</span>
  </p>

  <hr/>
  
  <div class="entry">
    {{ content }}
  </div>

  {% include disqus.html %}
</article>
{'fraction_non_alphanumeric': 0.2023086269744836, 'fraction_numerical': 0.0018226002430133657, 'mean_word_length': 2.145176695319962, 'pattern_counts': {'":': 0, '<': 46, '<?xml version=': 0, '>': 48, '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': '4181399', 'n_tokens_mistral': 1165, 'n_tokens_neox': 1004, 'n_words': 228}