<commit_before>---
layout: default
title: Home

generator: "pagination"
provider: "site.posts"
sort_by: "date"
permalink: "/page/:num"
---

<div class="col-md-12">
    <ul class="fh5co-faq-list">
        {% for post in page.pagination.items %}
            <li class="post animate-box">
                <h2 class="post-title"><a href="{{ site.url }}{{ post.url }}/">{{ post.title }}</a></h2>
                <p class="text-right">
                    <small>
                        <i>
                            {{ post.date | date('d F Y') }} &nbsp;&mdash;&nbsp;
                            <a href="{{ site.url }}{{ post.url }}/#disqus_thread">Comments</a>
                        </i>
                    </small>
                </p>
                <div>
                    {{ post.content | truncatehtml(600) }}
                </div>
                <div style="margin-bottom: 10px;">
                    <a href="{{ site.url }}{{ post.url }}/"><b>Continue reading...</b></a>
                </div>

                <ul class="list-unstyled">
                    {% if post.categories %}
                        <li class="categories-list">
                            {% for category in post.categories %}
                                <a class="label label-category"
                                   href="{{ site.url }}/category/{{ category | url_encode(true) }}/">
                                    {{ category }}
                                </a>
                            {% endfor %}
                        </li>
                    {% endif %}
                    {% if post.tags %}
                        <li class="tags-list">
                            {% for tag in post.tags %}
                                <a class="label label-tag" href="{{ site.url }}/tag/{{ tag | url_encode(true) }}/">
                                    {{ tag | replace('-', ' ') }}
                                </a>
                            {% endfor %}
                        </li>
                    {% endif %}
                    <li class="clearfix"></li>
                </ul>
            </li>
        {% endfor %}
    </ul>

    <div class="animate-box">
        <hr>
        <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>
            {% else %}
                <li class="previous disabled">
                    <span>&larr; Older posts</span>
                </li>
            {% endif %}

            {% if page.pagination.previous_page %}
                <li class="next">
                    <a href="{{ site.url }}{{ page.pagination.previous_page_url }}/">Newer posts &rarr;</a>
                </li>
            {% else %}
                <li class="next disabled">
                    <span>Newer posts &rarr;</span>
                </li>
            {% endif %}
        </ul>
    </div>
</div>
<commit_msg>Applied external_links filter to post summary in home page<commit_after>---
layout: default
title: Home

generator: "pagination"
provider: "site.posts"
sort_by: "date"
permalink: "/page/:num"
---

<div class="col-md-12">
    <ul class="fh5co-faq-list">
        {% for post in page.pagination.items %}
            <li class="post animate-box">
                <h2 class="post-title"><a href="{{ site.url }}{{ post.url }}/">{{ post.title }}</a></h2>
                <p class="text-right">
                    <small>
                        <i>
                            {{ post.date | date('d F Y') }} &nbsp;&mdash;&nbsp;
                            <a href="{{ site.url }}{{ post.url }}/#disqus_thread">Comments</a>
                        </i>
                    </small>
                </p>
                <div>
                    {{ post.content | truncatehtml(600) | external_links }}
                </div>
                <div style="margin-bottom: 10px;">
                    <a href="{{ site.url }}{{ post.url }}/"><b>Continue reading...</b></a>
                </div>

                <ul class="list-unstyled">
                    {% if post.categories %}
                        <li class="categories-list">
                            {% for category in post.categories %}
                                <a class="label label-category"
                                   href="{{ site.url }}/category/{{ category | url_encode(true) }}/">
                                    {{ category }}
                                </a>
                            {% endfor %}
                        </li>
                    {% endif %}
                    {% if post.tags %}
                        <li class="tags-list">
                            {% for tag in post.tags %}
                                <a class="label label-tag" href="{{ site.url }}/tag/{{ tag | url_encode(true) }}/">
                                    {{ tag | replace('-', ' ') }}
                                </a>
                            {% endfor %}
                        </li>
                    {% endif %}
                    <li class="clearfix"></li>
                </ul>
            </li>
        {% endfor %}
    </ul>

    <div class="animate-box">
        <hr>
        <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>
            {% else %}
                <li class="previous disabled">
                    <span>&larr; Older posts</span>
                </li>
            {% endif %}

            {% if page.pagination.previous_page %}
                <li class="next">
                    <a href="{{ site.url }}{{ page.pagination.previous_page_url }}/">Newer posts &rarr;</a>
                </li>
            {% else %}
                <li class="next disabled">
                    <span>Newer posts &rarr;</span>
                </li>
            {% endif %}
        </ul>
    </div>
</div>

{'fraction_non_alphanumeric': 0.15833333333333333, 'fraction_numerical': 0.0032679738562091504, 'mean_word_length': 0.9688002573174654, 'pattern_counts': {'":': 0, '<': 121, '<?xml version=': 0, '>': 121, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 14, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2856284', 'n_tokens_mistral': 1738, 'n_tokens_neox': 1544, 'n_words': 335}