Prevent some pages from search indexing

This commit is contained in:
Raphael Michel
2017-09-25 10:04:37 +02:00
parent ef3eee7873
commit 43fc498297
6 changed files with 36 additions and 4 deletions

View File

@@ -40,7 +40,7 @@
{% if request.event.settings.locales|length > 1 %}
<div class="locales">
{% for l in languages %}
<a href="{% url "presale:locale.set" %}?locale={{ l.code }}&next={{ request.path }}%3F{{ request.META.QUERY_STRING|urlencode }}" class="{% if l.code == request.LANGUAGE_CODE %}active{% endif %}">
<a href="{% url "presale:locale.set" %}?locale={{ l.code }}&next={{ request.path }}%3F{{ request.META.QUERY_STRING|urlencode }}" class="{% if l.code == request.LANGUAGE_CODE %}active{% endif %}" rel="nofollow">
{{ l.name_local }}
</a>
{% endfor %}