Liquid, JavaScript, themes, sales channels
Context:
Question:
Solved! Go to the solution
This is an accepted solution.
put this code in theme.liquid
{% if template contains 'page' and canonical_url contains '/pages/privacy-policy' or template contains 'page' and canonical_url contains '/pages/terms-of-service' %}
<meta name="robots" content="noindex,follow">
{% endif %}
This is an accepted solution.
put this code in theme.liquid
{% if template contains 'page' and canonical_url contains '/pages/privacy-policy' or template contains 'page' and canonical_url contains '/pages/terms-of-service' %}
<meta name="robots" content="noindex,follow">
{% endif %}
Thanks Omar
User | RANK |
---|---|
37 | |
24 | |
13 | |
13 | |
9 |
Transform this holiday season into a shopping spree. Plus, learn how to effortlessly open ...
By Jasonh Dec 8, 2023Make the shift from discounts to donations, and witness your business not only thrive fina...
By Holly Dec 4, 2023On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023