<commit_before>{% load blog_tags i18n %}

{% blog_recent_posts 5 as recent_posts %}
{% if recent_posts %}
<h3>{% trans "Recent Posts" %}</h3>
{% for recent_post in recent_posts %}
<li><a href="{% url blog_post_detail recent_post.slug %}"
    >{{ recent_post.title }}</a></li>
{% endfor %}
</ul>
{% endif %}

{% blog_months as months %}
{% if months %}
<h3>{% trans "Archive" %}</h3>
{% for month in months %}
{% ifchanged month.year %}<h4>{{ month.year }}</h4><ul>{% endifchanged %}
<li><a href="{% url blog_post_list_month year=month.year month=month.month %}"
    >{{ month|date:"F" }}</a></li>
{% endfor %}
</ul>
{% endif %}

{% blog_categories as categories %}
{% if categories %}
<h3>{% trans "Categories" %}</h3>
<ul>
{% for category in categories %}
<li><a href="{% url blog_post_list_category category.slug %}"
    >{{ category }}</a></li>
{% endfor %}
</ul>
{% endif %}

{% blog_tags as tags %}
{% if tags %}
<h3>{% trans "Tags" %}</h3>
<ul class="tags">
{% for tag in tags %}<commit_msg>Modified the blog's filter_panel tempate so <ul> tags get closed properly.<commit_after>{% load blog_tags i18n %}

{% blog_recent_posts 5 as recent_posts %}
{% if recent_posts %}
<h3>{% trans "Recent Posts" %}</h3>
<ul>
{% for recent_post in recent_posts %}
<li><a href="{% url blog_post_detail recent_post.slug %}"
    >{{ recent_post.title }}</a></li>
{% endfor %}
</ul>
{% endif %}

{% blog_months as months %}
{% if months %}
<h3>{% trans "Archive" %}</h3>
{% for month in months %}
{% ifchanged month.year %}{% if not forloop.first %}</ul>{% endif %}<h4>{{ month.year }}</h4><ul>{% endifchanged %}
<li><a href="{% url blog_post_list_month year=month.year month=month.month %}"
    >{{ month|date:"F" }}</a></li>
{% endfor %}
</ul>
{% endif %}

{% blog_categories as categories %}
{% if categories %}
<h3>{% trans "Categories" %}</h3>
<ul>
{% for category in categories %}
<li><a href="{% url blog_post_list_category category.slug %}"
    >{{ category }}</a></li>
{% endfor %}
</ul>
{% endif %}

{% blog_tags as tags %}
{% if tags %}
<h3>{% trans "Tags" %}</h3>
<ul class="tags">
{% for tag in tags %}
{'fraction_non_alphanumeric': 0.23120837297811608, 'fraction_numerical': 0.012369172216936251, 'mean_word_length': 4.5488126649076515, 'pattern_counts': {'":': 0, '<': 62, '<?xml version=': 0, '>': 62, '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': '6984009', 'n_tokens_mistral': 872, 'n_tokens_neox': 755, 'n_words': 212}