diff options
author | rubenwardy <rw@rubenwardy.com> | 2020-07-16 14:06:29 +0100 |
---|---|---|
committer | rubenwardy <rw@rubenwardy.com> | 2020-07-16 14:07:21 +0100 |
commit | 0e4722ea988118635e3f2de4f99e3476b1dac4e5 (patch) | |
tree | ef14604fe2e19571d9f681d0372ba6834214e134 | |
parent | 208a47b41d2d81f95a47c2e59c69310aa3486426 (diff) | |
download | cheatdb-0e4722ea988118635e3f2de4f99e3476b1dac4e5.tar.xz |
Add nofollow to tags
-rw-r--r-- | app/templates/packages/list.html | 4 | ||||
-rw-r--r-- | app/templates/packages/view.html | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/app/templates/packages/list.html b/app/templates/packages/list.html index e272782..ec17f80 100644 --- a/app/templates/packages/list.html +++ b/app/templates/packages/list.html @@ -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 }} diff --git a/app/templates/packages/view.html b/app/templates/packages/view.html index 1d97da9..00eea2e 100644 --- a/app/templates/packages/view.html +++ b/app/templates/packages/view.html @@ -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> |