<commit_before>{% extends "base.html" %}

{% load cache %}
{% load i18n %}
{% load package_tags %}
{% load pagination_tags %}
{% load sorting_tags %}

{% block extra_head %}
    <link rel="stylesheet" href="{{ STATIC_URL }}css/home.css" />
{% endblock %}

{% block head_title %}{% trans "Welcome" %}{% endblock %}

{% block body_class %}home{% endblock %}

{% block body %}

    <h1><a href="{% url home %}">{% trans "home" %}</a> / <a href="{% url categories %}">{% trans "categories" %}</a> / {{ category }}s ( {{ packages.count }} )</h1>
     
    <p id="description">{{ category.description }}</p>
    
    <p id="links">
        {% if profile.can_add_package %}
            <a class="large awesome forestgreen" href="{% url add_package %}">{% trans "add package »" %}</a>
        {% endif %}
        &nbsp;
        <a href="{% url latest_packages %}">{% trans "latest" %}</a>
        &nbsp;
        <a href="{% url packages %}">{% trans "all" %}</a>
    </p><commit_msg>Fixed broken pluralization of category name.<commit_after>{% extends "base.html" %}

{% load cache %}
{% load i18n %}
{% load package_tags %}
{% load pagination_tags %}
{% load sorting_tags %}

{% block extra_head %}
    <link rel="stylesheet" href="{{ STATIC_URL }}css/home.css" />
{% endblock %}

{% block head_title %}{% trans "Welcome" %}{% endblock %}

{% block body_class %}home{% endblock %}

{% block body %}

    <h1><a href="{% url home %}">{% trans "home" %}</a> / <a href="{% url categories %}">{% trans "categories" %}</a> / {{ category.title_plural }} ( {{ packages.count }} )</h1>
     
    <p id="description">{{ category.description }}</p>
    
    <p id="links">
        {% if profile.can_add_package %}
            <a class="large awesome forestgreen" href="{% url add_package %}">{% trans "add package »" %}</a>
        {% endif %}
        &nbsp;
        <a href="{% url latest_packages %}">{% trans "latest" %}</a>
        &nbsp;
        <a href="{% url packages %}">{% trans "all" %}</a>
    </p>
{'fraction_non_alphanumeric': 0.22679377822378324, 'fraction_numerical': 0.004014049172102358, 'mean_word_length': 3.0860655737704916, 'pattern_counts': {'":': 0, '<': 37, '<?xml version=': 0, '>': 37, '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': '6517136', 'n_tokens_mistral': 736, 'n_tokens_neox': 641, 'n_words': 179}