Created
December 30, 2016 00:55
-
-
Save zakhardage/22499a73dcba8bace87a2d831c7c169a to your computer and use it in GitHub Desktop.
Shopify redirect for off-platform blogs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% if template contains 'blog' or template contains 'article' %} | |
<script type="text/javascript"> | |
window.location = "http://blog.sitename.com"; | |
</script> | |
{% endif %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment