Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Set 'nofollow' on links without content value
Pacu233e8b822a415
diff --git a/templates/account/login.html b/templates/account/login.htmlindex eb80c442bb..337126d054 100644--- a/templates/account/login.html+++ b/templates/account/login.html@@ -17,7 +17,7 @@<h3>{% trans "Don't have an account yet?" context "Login form secondary title" %}</h3><img src="{% static 'images/pirate_login.png' %}"srcset="{% static 'images/pirate_login.png' %} 1x, {% static 'images/pirate_login2x.png' %} 2x">- <a href="{% url 'account_signup' %}" class="btn secondary narrow">+ <a rel="nofollow" href="{% url 'account_signup' %}" class="btn secondary narrow">{% trans "Register" context "Login form secondary action" %}</a></div>diff --git a/templates/account/partials/login_form.html b/templates/account/partials/login_form.htmlindex c6a5638e96..08e38a58e1 100644--- a/templates/account/partials/login_form.html+++ b/templates/account/partials/login_form.html@@ -16,7 +16,7 @@<button class="btn primary narrow">{% trans "Log in" context "Login form primary action" %}</button>- <a class="link--styled" href="{% url 'account_reset_password' %}">+ <a rel="nofollow" class="link--styled" href="{% url 'account_reset_password' %}">{% trans "Forgot password?" context "Login form secondary link" %}</a>{% with available_backends=settings.available_backends %}diff --git a/templates/account/signup.html b/templates/account/signup.htmlindex e693d39193..7e479cb102 100644--- a/templates/account/signup.html+++ b/templates/account/signup.html@@ -17,7 +17,7 @@<h3>{% trans "Already have an account?" context "Signup form secondary title" %}</h3><img class="signup-img" src="{% static 'images/pirate_login.png' %}"srcset="{% static 'images/pirate_login.png' %} 1x, {% static 'images/pirate_login2x.png' %} 2x">- <p><a href="{% url 'account_login' %}" class="btn secondary narrow">+ <p><a rel="nofollow" href="{% url 'account_login' %}" class="btn secondary narrow">{% trans "Log in" context "Signup form secondary action" %}</a></p></div>diff --git a/templates/base.html b/templates/base.htmlindex f73528ed32..d21157bb8d 100644--- a/templates/base.html+++ b/templates/base.html@@ -63,11 +63,11 @@{% endif %}{% else %}<li>- <a href="{% url "account_signup" %}">+ <a rel="nofollow" href="{% url "account_signup" %}">{% trans "Register" context "Main navigation item" %}</a></li><li>- <a href="{% url "account_login" %}">+ <a rel="nofollow" href="{% url "account_login" %}">{% trans "Log in" context "Main navigation item" %}</a></li>@@ -109,7 +109,7 @@</div><div class="col-2 col-md-4"><div class="navbar__brand__cart float-right">- <a class="cart__icon" href="{% url "cart:index" %}">+ <a rel="nofollow" class="cart__icon" href="{% url "cart:index" %}"><span class="cart-label d-none d-md-inline-block">{% trans "Your Cart" context "Main navigation item" %}</span>@@ -185,7 +185,7 @@<div class="col-md-3 col-sm-6"><ul><li>- <a href="{% url "cart:index" %}">+ <a rel="nofollow" href="{% url "cart:index" %}">{% trans "Your Cart" context "Main navigation item" %}</a></li>@@ -221,12 +221,12 @@{% endif %}{% else %}<li>- <a href="{% url "account_signup" %}">+ <a rel="nofollow" href="{% url "account_signup" %}">{% trans "Register" context "Main navigation item" %}</a></li><li>- <a href="{% url "account_login" %}">+ <a rel="nofollow" href="{% url "account_login" %}">{% trans "Log in" context "Main navigation item" %}</a></li>