<commit_before>{% comment %}
*
*   Possible parameter for this loop:
*
*    › entries
*    › offset
*    › category
*    › tag
*
*   Example for Category: {% include list-posts entries='3' offset='1' category='design' %}
*
*   Example for Tag: {% include list-posts entries='5' tag='terminal' %}
*
*
*   This loop works like this:
*
*   1. First we check if there was given a category for filtering › if include.categories == NULL
*   2. If no category is given for filtering do a general loop.
*   3. If a category/tag was given, assign category/tag to the variable category/tag › assign category = include.categories
*
{% endcomment %}



{% assign category = include.category %}
{% assign tag = include.tag %}
<!-- <ul class="side-nav"> -->

  {% if category == NULL and tag == NULL %}

    {% for post in site.posts limit:include.entries offset:include.offset %}
      <li><a href="{{ site.baseurl }}{{ post.url }}">{% if post.subheadline %}{{ post.subheadline }} &middot; {% endif %}<strong>{{ post.title }}</strong></a>{{ post.authors | join: ', '}} / {{ post.date | date: '%Y-%m-%d' }}</li>
    {% endfor %}
      <li class="text-right"><a href="{{ site.baseurl }}/blog/archive/"><strong>{{ site.data.language.more }}</strong></a></li>


  {% elsif category %}

    {% for post in site.categories.[category] %}
    <ul>
      <li><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></li>
    </ul>
    {% endfor %}
      <!-- <li class="text-right"><a href="{{ site.baseurl }}/blog/archive/"><strong>{{ site.data.language.more }}</strong></a></li> -->

<commit_msg>update sedebar.html, 04<commit_after>{% comment %}
*
*   Possible parameter for this loop:
*
*    › entries
*    › offset
*    › category
*    › tag
*
*   Example for Category: {% include list-posts entries='3' offset='1' category='design' %}
*
*   Example for Tag: {% include list-posts entries='5' tag='terminal' %}
*
*
*   This loop works like this:
*
*   1. First we check if there was given a category for filtering › if include.categories == NULL
*   2. If no category is given for filtering do a general loop.
*   3. If a category/tag was given, assign category/tag to the variable category/tag › assign category = include.categories
*
{% endcomment %}



{% assign category = include.category %}
{% assign tag = include.tag %}
<!-- <ul class="side-nav"> -->

  {% if category == NULL and tag == NULL %}

    {% for post in site.posts limit:include.entries offset:include.offset %}
      <li><a href="{{ site.baseurl }}{{ post.url }}">{% if post.subheadline %}{{ post.subheadline }} &middot; {% endif %}<strong>{{ post.title }}</strong></a>{{ post.authors | join: ', '}} / {{ post.date | date: '%Y-%m-%d' }}</li>
    {% endfor %}
      <li class="text-right"><a href="{{ site.baseurl }}/blog/archive/"><strong>{{ site.data.language.more }}</strong></a></li>


  {% elsif category %}
    <ul>
    {% for post in site.categories.[category] %}
      <li><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></li>
    {% endfor %}
    </ul>
      <!-- <li class="text-right"><a href="{{ site.baseurl }}/blog/archive/"><strong>{{ site.data.language.more }}</strong></a></li> -->


{'fraction_non_alphanumeric': 0.20724409448818898, 'fraction_numerical': 0.004409448818897638, 'mean_word_length': 3.297699594046008, 'pattern_counts': {'":': 0, '<': 57, '<?xml version=': 0, '>': 57, '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': '5692227', 'n_tokens_mistral': 1079, 'n_tokens_neox': 1002, 'n_words': 298}