{%if package%}<html><head><title>Links for {{ package.name }}</title></head><body><h1>Links for {{ package.name }}</h1>
{% for r in package.sorted_releases %}
    {% for f in r.files %}<a href="{{ route_url('repository', file_id=f.id, filename=f.filename)
                                   }}#{{ f.md5_digest }}">{{f.filename}}</a><br/>
    {% endfor %}
{% endfor %}
{% for r in package.sorted_releases %}
    {% if r.home_page and r.home_page != 'UNKNOWN' %}
<a href="{{ r.home_page }}" rel="homepage">{{ r.version }} home_page</a><br/>
    {% endif %}
    {% if r.download_url and r.download_url != 'UNKNOWN'  %}
<a href="{{ r.download_url }}" rel="download">{{ r.version }} download_url</a><br/>
    {% endif %}
{% endfor %}
</body></html>{% else %}Not found, ({{package_name}} does not have any release){% endif %}