Add download button and URL

This commit is contained in:
rubenwardy
2018-03-23 16:20:56 +00:00
parent 570dd519df
commit 5a9fc51ffc
3 changed files with 30 additions and 0 deletions

View File

@@ -39,6 +39,7 @@
</table>
<ul class="buttonset linedbuttonset">
{% if package.getDownloadRelease() %}<li><a href="{{ package.getDownloadURL() }}">Download</a></li>{% endif %}
{% if package.repo %}<li><a href="{{ package.repo }}">View Source</a></li>{% endif %}
{% if package.forums %}<li><a href="https://forum.minetest.net/viewtopic.php?t={{ package.forums }}">Forums</a></li>{% endif %}
{% if package.issueTracker %}<li><a href="{{ package.issueTracker }}">Issue Tracker</a></li>{% endif %}