<commit_before>{% extends "packages/simple/base.html" %}

{% load package_utils %}

{% block head_title %}Links for {{ object.name }}{% endblock %}

{% block body %}
    <h1>Links for {{ object.name }}</h1>

    {% for release in object.releases.all %}
        {% for file in release.files.all %}
            <a href="{{ file.file.url }}" rel="package">{{ file.file.name|filename }}{% if file.digest %}#{{ file.digest|digest_type }}={{ file.digest|digest_value }}{% endif %}</a>
        {% endfor %}
    {% endfor %}

    {% for release in object.releases.all %}
        {% if release.download_uri %}
            <a href="{{ release.download_uri }}" rel="download">{{ release.version }} download_url</a>
        {% endif %}

        {% for uri in release.uris.all %}
            {% if uri.label|lower == "home page" or uri.label|lower == "homepage" %}
                <a href="{{ uri.uri }}" rel="homepage">{{ release.version }} home_page</a>
            {% else %}
                <a href="{{ uri.uri }}" rel="{{ uri.label }}">{{ release.version }} {{ uri.label }}</a>
            {% endif %}
        {% endfor %}
    {% endfor %}

    {% for link in object.description_links %}
        <a href="{{ link }}">{{ link }}</a>
    {% endfor %}
{% endblock %}<commit_msg>fix to put the digest into the url not the anchor<commit_after>{% extends "packages/simple/base.html" %}

{% load package_utils %}

{% block head_title %}Links for {{ object.name }}{% endblock %}

{% block body %}
    <h1>Links for {{ object.name }}</h1>

    {% for release in object.releases.all %}
        {% for file in release.files.all %}
            <a href="{{ file.file.url }}{% if file.digest %}#{{ file.digest|digest_type }}={{ file.digest|digest_value }}{% endif %}" rel="package">{{ file.file.name|filename }}</a>
        {% endfor %}
    {% endfor %}

    {% for release in object.releases.all %}
        {% if release.download_uri %}
            <a href="{{ release.download_uri }}" rel="download">{{ release.version }} download_url</a>
        {% endif %}

        {% for uri in release.uris.all %}
            {% if uri.label|lower == "home page" or uri.label|lower == "homepage" %}
                <a href="{{ uri.uri }}" rel="homepage">{{ release.version }} home_page</a>
            {% else %}
                <a href="{{ uri.uri }}" rel="{{ uri.label }}">{{ release.version }} {{ uri.label }}</a>
            {% endif %}
        {% endfor %}
    {% endfor %}

    {% for link in object.description_links %}
        <a href="{{ link }}">{{ link }}</a>
    {% endfor %}
{% endblock %}
{'fraction_non_alphanumeric': 0.20622568093385213, 'fraction_numerical': 0.0015564202334630351, 'mean_word_length': 2.432576769025367, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 27, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3748036', 'n_tokens_mistral': 885, 'n_tokens_neox': 768, 'n_words': 192}