File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed
Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change 4848"""
4949
5050# TODO in the future: data-requires-python (PEP 503)
51- # TODO now: strip empty lines
5251simple_detail_template = """<!DOCTYPE html>
5352<html>
5453 <head>
5756 </head>
5857 <body>
5958 <h1>Links for {{ project_name }}</h1>
60- {% for pkg in project_packages %}
61- <a href="{{ pkg.url }}#sha256={{ pkg.sha256 }}"
62- {% if pkg.metadata_sha256 %}
63- data-dist-info-metadata="sha256={{ pkg.metadata_sha256 }}"
64- {% endif %}
65- rel="internal" {% if pkg.provenance -%}
59+ {%- for pkg in project_packages %}
60+ <a href="{{ pkg.url }}#sha256={{ pkg.sha256 }}" rel="internal"
61+ {%- if pkg.metadata_sha256 %} data-dist-info-metadata="sha256={{ pkg.metadata_sha256 }}"
62+ {%- endif %} {% if pkg.provenance -%}
6663 data-provenance="{{ pkg.provenance }}"{% endif %}>{{ pkg.filename }}</a><br/>
67- {% endfor %}
64+ {%- endfor %}
6865 </body>
6966</html>
7067"""
You can’t perform that action at this time.
0 commit comments