Skip to content

Commit f4c953c

Browse files
committed
Make version links not indexable
1 parent 9191402 commit f4c953c

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
@@ -3,7 +3,7 @@
33
{% for version in versions %}
44
{% set expanded = version.id == expandedId|default(false) %}
55
<li class="details-toggler version{% if loop.last %} last{% endif %}{% if expanded %} open{% endif %}" data-version-id="{{ version.version }}" data-load-more="{{ path('view_version', {versionId: version.id, _format: 'json'}) }}">
6-
<a href="#{{ version.version }}" class="version-number">
6+
<a rel="nofollow noindex" href="#{{ version.version }}" class="version-number">
77
{{- version.version -}}
88
{% if version.hasVersionAlias() %}
99
/ {{ version.versionAlias }}

0 commit comments

Comments
 (0)