Commit 44b9b059 authored by Louis's avatar Louis
Browse files

Link download badges to pypistats.org

References #2
parent 262abe6d
Pipeline #78919 passed with stages
in 40 seconds
{% if "package_url" in pypi.info %}
<a href="{{ pypi.info.package_url }}">
<a href="https://pypistats.org/packages/{{ pypi.info.name }}">
<img src="https://img.shields.io/pypi/dd/{{ pypi.info.name }}.svg" alt="Daily downloads">
</a>
{% endif %}
{% if "package_url" in pypi.info %}
<a href="{{ pypi.info.package_url }}">
<a href="https://pypistats.org/packages/{{ pypi.info.name }}">
<img src="https://img.shields.io/pypi/dm/{{ pypi.info.name }}.svg" alt="Daily downloads">
</a>
{% endif %}
{% if "package_url" in pypi.info %}
<a href="{{ pypi.info.package_url }}">
<a href="https://pypistats.org/packages/{{ pypi.info.name }}">
<img src="https://img.shields.io/pypi/dw/{{ pypi.info.name }}.svg" alt="Daily downloads">
</a>
{% endif %}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment