Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Merge pull request #1389 from Pacu2/feature/add-robots-meta-and-nofollow-links
Marcin Gębalabd424a30c7b0
diff --cc templates/account/signup.htmlindex fc6e701583,7e479cb102..9f4df0c462--- a/templates/account/signup.html+++ b/templates/account/signup.html@@@ -5,8 -5,12 +5,12 @@@{% block title %}{% trans "Sign Up" context "Signup page title" %} — {{ block.super }}{% endblock %}+ {% block meta_tags %}+ <meta name="robots" content="nofollow">+ {% endblock meta_tags %}+{% block content %}- <div class="col-lg-10 offset-lg-1 col-sm-12">+ <div class="col-lg-10 col-sm-12 m-auto"><div class="row login"><div class="col-md-6 login__register"><div class="login__register-link">diff --cc templates/cart/index.htmlindex 740015c872,0700648972..d7263a5b7b--- a/templates/cart/index.html+++ b/templates/cart/index.html@@@ -14,8 -14,12 +14,12 @@@</ul>{% endblock breadcrumb %}+ {% block meta_tags %}+ <meta name="robots" content="nofollow">+ {% endblock meta_tags %}+{% block content %}-<div class="alert alert-success d-block d-sm-none remove-product-alert">+<div class="alert alert-success remove-product-alert d-none">{% trans "Product has been removed from cart" context "Cart message" %}<button type="button" class="close close-msg" aria-hidden="true">×</button></div>diff --cc templates/order/details.htmlindex 86962ad6da,38a6a6ad6c..5e98d9bedc--- a/templates/order/details.html+++ b/templates/order/details.html@@@ -27,9 -27,13 +27,13 @@@{% endif %}{% endblock breadcrumb %}+ {% block meta_tags %}+ <meta name="robots" content="noindex, nofollow">+ {% endblock meta_tags %}+{% block content %}{# This view is available by just knowing url, #}- {# so we don't show all details (like delivery address) #}+ {# so we don't show all details (like shipping address) #}{# unless current user is owner of the order. #}<div class="row order-details">