Add ability to search by tag

This commit is contained in:
rubenwardy
2020-04-07 18:23:06 +01:00
parent 663a9ba07b
commit 39a09c5d92
2 changed files with 14 additions and 2 deletions

View File

@@ -38,7 +38,8 @@
</span>
{% endif %}
{% for t in package.tags %}
<span class="badge badge-primary">{{ t.title }}</span>
<a class="badge badge-primary"
href="{{ url_for('packages.list_all', tag=t.name) }}">{{ t.title }}</a>
{% endfor %}
</p>