contentdb/app/templates/packages.html
2018-03-20 00:44:47 +00:00

18 lines
395 B
HTML

{% extends "base.html" %}
{% block title %}
{{ title }}
{% endblock %}
{% block content %}
<ul>
{% for p in packages %}
<li><a href="{{ url_for('package_page', type=p.type.getTitle()|lower, author=p.author.username, name=p.name) }}">
{{ p.title }} by {{ p.author.display_name }}
</a></li>
{% else %}
<li><i>No packages available</i></ul>
{% endfor %}
</ul>
{% endblock %}