<commit_before>---
layout: default
title: Home
generator: pagination
pagination:
    max_per_page: 5
use:
    - posts
---
{% for post in page.pagination.items %}
    <article class="post">
        <header>
            <h2 class="post-title"><a href="{{ site.url }}{{ post.url }}/">{{ post.title }}</a></h2>
        </header>
        <div>
            {{ post.blocks.content | truncatehtml(600) | raw }}
        </div>
        <div style="margin-bottom: 10px;">
            <a href="{{ site.url }}{{ post.url }}/"><b>Continue reading...</b></a>
        </div>

        <ul class="list-unstyled">
            {% if post.meta.categories %}
            <li class="pull-left">
                {% for category in post.meta.categories %}
                <a class="label label-info" href="{{ site.url }}/category/{{ category | url_encode(true) }}/">{{ category }}</a>
                {% endfor %}
            </li>
            {% endif %}
            {% if post.meta.tags %}
            <li class="pull-right text-right">
                {% for tag in post.meta.tags %}
                <a class="label label-primary" href="{{ site.url }}/tag/{{ tag | url_encode(true) }}/">{{ tag | replace('-', ' ') }}</a>
                {% endfor %}
            </li>
            {% endif %}
            <li class="clearfix"></li>
        </ul>
    </article>
{% endfor %}
<ul class="pager">
    {% if page.pagination.next_page %}
        <li class="previous">
            <a href="{{ site.url }}{{ page.pagination.next_page.url }}/">&larr; Older posts</a>
        </li><commit_msg>Fixed categories and tags lists in multiarticle view<commit_after>---
layout: default
title: Home
generator: pagination
pagination:
    max_per_page: 5
use:
    - posts
---
{% for post in page.pagination.items %}
    <article class="post">
        <header>
            <h2 class="post-title"><a href="{{ site.url }}{{ post.url }}/">{{ post.title }}</a></h2>
        </header>
        <div>
            {{ post.blocks.content | truncatehtml(600) | raw }}
        </div>
        <div style="margin-bottom: 10px;">
            <a href="{{ site.url }}{{ post.url }}/"><b>Continue reading...</b></a>
        </div>

        <ul class="list-unstyled">
            {% if post.meta.categories %}
            <li class="categories-list">
                {% for category in post.meta.categories %}
                <a class="label label-info" href="{{ site.url }}/category/{{ category | url_encode(true) }}/">{{ category }}</a>
                {% endfor %}
            </li>
            {% endif %}
            {% if post.meta.tags %}
            <li class="tags-list">
                {% for tag in post.meta.tags %}
                <a class="label label-primary" href="{{ site.url }}/tag/{{ tag | url_encode(true) }}/">{{ tag | replace('-', ' ') }}</a>
                {% endfor %}
            </li>
            {% endif %}
            <li class="clearfix"></li>
        </ul>
    </article>
{% endfor %}
<ul class="pager">
    {% if page.pagination.next_page %}
        <li class="previous">
            <a href="{{ site.url }}{{ page.pagination.next_page.url }}/">&larr; Older posts</a>
        </li>
{'fraction_non_alphanumeric': 0.1988582302568982, 'fraction_numerical': 0.00507453219156359, 'mean_word_length': 1.7666666666666666, 'pattern_counts': {'":': 0, '<': 69, '<?xml version=': 0, '>': 69, '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': '7012310', 'n_tokens_mistral': 1025, 'n_tokens_neox': 944, 'n_words': 219}