This file contains 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
<ul> | |
{% for article in blogs.news.articles %} | |
<li> | |
<h4>{{ article.title }}</h4> | |
{{ article.content }} | |
</li> | |
{% endfor %} | |
</ul> |
This file contains 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
<!-- This is an example of automatic currency switching based on IP as well as language selection using Langify and redirects. | |
All domains should be set up in Langify with their appropriate languages. I'd recommend placing this code in its own snippet | |
and including it near the </body> tag in your theme.liquid | |
Dependencies: | |
- currencies.js (https://github.com/carolineschnapp/currencies) | |
- Langify (https://apps.shopify.com/langify) | |
- A Shopify Store (well, should work anywhere, but only tested on Shopify) | |
--> |
This file contains 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
<!-- This is an example of automatic currency switching based on IP as well as language selection using Langify and redirects. | |
All domains should be set up in Langify with their appropriate languages. I'd recommend placing this code in its own snippet | |
and including it near the </body> tag in your theme.liquid | |
Dependencies: | |
- currencies.js (https://github.com/carolineschnapp/currencies) | |
- Langify (https://apps.shopify.com/langify) | |
- A Shopify Store (well, should work anywhere, but only tested on Shopify) | |
--> |
This file contains 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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |