fix(routers.packages): handle package source display

Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
Kevin Morris 2021-12-30 23:04:39 -08:00
parent be7a96076e
commit 8f8929f324
No known key found for this signature in database
GPG key ID: F7E46DED420788F3
3 changed files with 66 additions and 4 deletions

View file

@ -65,8 +65,9 @@
<div>
<ul id="pkgsrcslist">
{% for src in sources %}
{% set file, uri = (src | source_uri) %}
<li>
<a href="{{ src.Source }}">{{ src.Source }}</a>
<a href="{{ uri }}">{{ file }}</a>
</li>
{% endfor %}
</ul>