<commit_before>{% extends "PackagistWebBundle::layout.html.twig" %}

{% import "PackagistWebBundle::macros.html.twig" as macros %}

{% block content %}
    {% block content_title %}<h2 class="title">Packages</h2>{% endblock %}
    {% block lists %}
    <section class="row">
        <section class="packages-short col-lg-6">
            <h3>New Releases <a href="{{ url('feed_releases', {_format: 'rss'}) }}">RSS</a></h3>

            {{ macros.listPackagesShort(newlyReleased, true) }}
        </section>

        <section class="packages-short col-lg-6">
            <h3>New Packages <a href="{{ url('feed_packages', {_format: 'rss'}) }}">RSS</a></h3>

            {{ macros.listPackagesShort(newlySubmitted) }}
        </section>

        <section class="packages-short col-lg-6">
            <h3>Popular Packages <a href="{{ path('browse_popular') }}">View All</a></h3>

            {{ macros.listPackagesShort(popular, false, true) }}
        </section>

        <section class="packages-short col-lg-6">
            <h3>Random Packages</h3>

            {{ macros.listPackagesShort(random) }}
        </section>
    </section>
    {% endblock %}<commit_msg>Fix display of the Browse page when right list is shorter<commit_after>{% extends "PackagistWebBundle::layout.html.twig" %}

{% import "PackagistWebBundle::macros.html.twig" as macros %}

{% block content %}
    {% block content_title %}<h2 class="title">Packages</h2>{% endblock %}
    {% block lists %}
    <section class="row">
        <section class="packages-short col-lg-6">
            <h3>New Releases <a href="{{ url('feed_releases', {_format: 'rss'}) }}">RSS</a></h3>

            {{ macros.listPackagesShort(newlyReleased, true) }}
        </section>

        <section class="packages-short col-lg-6">
            <h3>New Packages <a href="{{ url('feed_packages', {_format: 'rss'}) }}">RSS</a></h3>

            {{ macros.listPackagesShort(newlySubmitted) }}
        </section>

        <div class="clearfix visible-lg-block"></div>

        <section class="packages-short col-lg-6">
            <h3>Popular Packages <a href="{{ path('browse_popular') }}">View All</a></h3>

            {{ macros.listPackagesShort(popular, false, true) }}
        </section>

        <section class="packages-short col-lg-6">
            <h3>Random Packages</h3>

            {{ macros.listPackagesShort(random) }}
        </section>
    </section>
    {% endblock %}
{'fraction_non_alphanumeric': 0.18061855670103094, 'fraction_numerical': 0.01154639175257732, 'mean_word_length': 2.778816199376947, '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': '1790711', 'n_tokens_mistral': 819, 'n_tokens_neox': 755, 'n_words': 149}