Move tag list to top of package list page

This commit is contained in:
rubenwardy 2020-07-12 20:19:00 +01:00
parent ae4352068e
commit ec087e4687
1 changed files with 30 additions and 33 deletions

View File

@ -19,25 +19,7 @@
</p>
{% endif %}
<div class="row">
<div class="col-md-9">
{% from "macros/packagegridtile.html" import render_pkggrid %}
{{ render_pkggrid(packages) }}
{% from "macros/pagination.html" import render_pagination %}
{{ render_pagination(pagination, url_set_query) }}
{% if topics %}
<h2 style="margin-top:2em;">More content from the forums</h2>
{% from "macros/topics.html" import render_topics %}
{{ render_topics(topics, current_user) }}
{% endif %}
</div>
<aside class="col-md-3">
<aside class="mb-5">
<p class="text-muted">Filter by tags</p>
{% for pair in tags %}
@ -61,6 +43,21 @@
{% endif %}
{% endfor %}
</aside>
</div>
{% from "macros/packagegridtile.html" import render_pkggrid %}
{{ render_pkggrid(packages) }}
{% from "macros/pagination.html" import render_pagination %}
{{ render_pagination(pagination, url_set_query) }}
{% if topics %}
<h2 style="margin-top:2em;">More content from the forums</h2>
{% from "macros/topics.html" import render_topics %}
{{ render_topics(topics, current_user) }}
{% endif %}
{% endblock %}