Skip to content

Commit d2190e1

Browse files
committed
Also make version advisory link nofollow
1 parent f4c953c commit d2190e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/package/version_list.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
</a>
1212

1313
{% if hasVersionSecurityAdvisories[version.id]|default(false) %}
14-
<a class="advisory-alert" href="{{ path('view_package_advisories', {name: package.name, version: version.id}) }}">
14+
<a rel="nofollow noindex" class="advisory-alert" href="{{ path('view_package_advisories', {name: package.name, version: version.id}) }}">
1515
<i class="glyphicon glyphicon-alert " title="Version has security advisories"></i>
1616
</a>
1717
{% endif %}

0 commit comments

Comments
 (0)