<commit_before>{% extends 'KodifyBlogBundle::base.html.twig' %}

{% block content %}

    {% for post in posts %}
        <div class="panel panel-default">
            <div class="panel-heading">
                <a href="{{ path('view_post',{id: post.id}) }}">{{ post.title }}</a>
                <span class="pull-right">by: {{ post.author.name }} on: {{ post.createdAt|date("m/d/Y") }}</span>
            </div>
            <div class="panel-body">
                {{ post.content }}
            </div>
        </div>
    {% endfor %}<commit_msg>Feature two columns - Added bootstrap class to show post in two columns<commit_after>{% extends 'KodifyBlogBundle::base.html.twig' %}

{% block content %}

    {% for post in posts %}
        {# Use col-xs-6 to show post in two columns on any devices,
        I create a div to surround the existing one because col-xs-6 has padding left and right that make the post box looks weird
        and whitout separation between the two columns #}
        <div class="col-xs-6">
            <div class="panel panel-default ">
                <div class="panel-heading">
                    <a href="{{ path('view_post',{id: post.id}) }}">{{ post.title }}</a>
                    <span class="pull-right">by: {{ post.author.name }} on: {{ post.createdAt|date("m/d/Y") }}</span>
                </div>
                <div class="panel-body">
                    {{ post.content }}
                </div>
            </div>
        </div>
    {% endfor %}
{'fraction_non_alphanumeric': 0.16331994645247658, 'fraction_numerical': 0.002008032128514056, 'mean_word_length': 1.8972868217054264, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 25, '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': '5526646', 'n_tokens_mistral': 455, 'n_tokens_neox': 422, 'n_words': 121}