Reorder new and popular, change number of packages in each

This commit is contained in:
rubenwardy
2018-07-04 01:20:55 +01:00
parent 7813c766ac
commit a6c8b12cdd
2 changed files with 10 additions and 6 deletions

View File

@@ -25,10 +25,14 @@ Welcome
<main>
{% from "macros/packagegridtile.html" import render_pkggrid %}
<h2>Newly Added</h2>
{{ render_pkggrid(new) }}
<h2>Popular</h2>
{{ render_pkggrid(popular) }}
<a href="{{ url_for('packages_page') }}" class="button">Show More</a>
<h2 style="margin-top:2em;">Newly Added</h2>
{{ render_pkggrid(new) }}
</main>
{% endblock %}