mirror of
https://github.com/minetest/contentdb.git
synced 2025-01-03 19:57:29 +01:00
Add nofollow to tags
This commit is contained in:
parent
208a47b41d
commit
0e4722ea98
@ -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 }}
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user