Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Don't allow search engines to follow the links that switch between versions

Roland Geider4d9ca670208e
diff --git a/wger/core/templates/mobile/navigation.html b/wger/core/templates/mobile/navigation.html
index c606e11f4..46e277ea8 100644
--- a/wger/core/templates/mobile/navigation.html
+++ b/wger/core/templates/mobile/navigation.html
@@ -134,7 +134,7 @@
<li><a href="{% url 'core:about' %}">{% trans "About" %}</a></li>
{# Site version #}
- <li><a href="?flavour=full" data-ajax="false">{% trans "Desktop version" %}</a></li>
+ <li><a href="?flavour=full" data-ajax="false" rel="nofollow">{% trans "Desktop version" %}</a></li>
{# Language #}
<li>
diff --git a/wger/core/templates/template.html b/wger/core/templates/template.html
index 2493ad491..4331a6e61 100644
--- a/wger/core/templates/template.html
+++ b/wger/core/templates/template.html
@@ -176,7 +176,7 @@
<a href="{% url 'core:about' %}">{% trans "About" %}</a>
| <a href="{% url 'software:contribute' %}">{% trans "Contribute!" %}</a>
| <a href="{% url 'core:contact' %}">{% trans "Get in touch" %}</a>
- | <a href="?flavour=mobile">{% trans "Mobile version" %}</a>
+ | <a href="?flavour=mobile" rel="nofollow">{% trans "Mobile version" %}</a>
</div>
</div>
<div class="ym-g10 ym-gr align-right">