Add nofollow to tags

This commit is contained in:
rubenwardy 2020-07-16 14:06:29 +01:00
parent 208a47b41d
commit 0e4722ea98
2 changed files with 3 additions and 3 deletions

View File

@ -27,14 +27,14 @@
{% set tag = pair[1] %}
{% if tag in selected_tags %}
<a class="badge badge-primary"
<a class="badge badge-primary" rel="nofollow"
href="{{ url_set_query(page=1, _remove={ 'tag': tag.name }) }}">
{{ tag.title }}
({{ count }})
</a>
{% else %}
<a class="badge badge-secondary"
<a class="badge badge-secondary" rel="nofollow"
href="{{ url_set_query(page=1, _add={ 'tag': tag.name }) }}">
{{ tag.title }}

View File

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