1 {% extends "base.html" %}
9 <p class="alert alert-primary">
10 Did you mean to search for packages by
12 {% for author in authors %}
13 <a href="{{ url_for('packages.list_all', type=type, author=author[0], q=author[1]) }}">{{ author[0] }}</a>
14 {% if not loop.last %}
23 <p class="text-muted">Filter by tags</p>
25 {% for pair in tags %}
26 {% set count = pair[0] %}
27 {% set tag = pair[1] %}
29 {% if tag in selected_tags %}
30 <a class="btn btn-sm btn-primary m-1" rel="nofollow"
31 title="{{ tag.description or '' }}"
32 href="{{ url_set_query(page=1, _remove={ 'tag': tag.name }) }}">
34 <span class="badge badge-pill badge-light ml-1">{{ count }}</span>
37 <a class="btn btn-sm btn-secondary m-1" rel="nofollow"
38 title="{{ tag.description or '' }}"
39 href="{{ url_set_query(page=1, _add={ 'tag': tag.name }) }}">
41 <span class="badge badge-pill badge-light ml-1">{{ count }}</span>
47 {% from "macros/packagegridtile.html" import render_pkggrid %}
48 {{ render_pkggrid(packages) }}
51 {% from "macros/pagination.html" import render_pagination %}
52 {{ render_pagination(pagination, url_set_query) }}
56 <h2 style="margin-top:2em;">More content from the forums</h2>
58 {% from "macros/topics.html" import render_topics %}
59 {{ render_topics(topics, current_user) }}