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
<div class="some-div"> | |
{% for block in section.blocks %} | |
{% case block.type %} | |
{% when 'image' %} | |
image | |
{% when 'headline' %} | |
headline |
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
// To get list of themes | |
theme get --list -p=[your-api-password] -s=[your-store.myshopify.com] | |
theme get -l -p=[your-api-password] -s=[your-store.myshopify.com] | |
// To download the theme | |
theme get --password=[your-api-password] --store=[your-store.myshopify.com] --themeid=[your-theme-id] | |
theme get -p=[your-api-password] -s=[your-store.myshopify.com] -t=[your-theme-id] | |
// To watch for changes on host | |
theme watch |
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
br{ | |
content:' '; | |
} | |
br:after{ | |
content:' '; | |
} |
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
{% comment %} | |
if combine_pretext is false, the text before the first <h6> will be shown above all tabs, otherwise added to the first tab | |
{% endcomment %} | |
{% assign combine_pretext = false %} | |
{% assign description = tabbed-description | default: product.description %} | |
{% if description contains "<h6>" %} | |
{% assign tab_heads = '' %} | |
{% assign tab_texts = '' %} | |
{% assign pretext = '' %} |
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
{% for block in section.blocks %} | |
<div class="list"> | |
<h4>{{ linklists[block.settings.footer_menu].title }}</h4> | |
<ul> | |
{% for link in linklists[block.settings.footer_menu].links %} | |
<li><a href="{{ link.url }}">{{ link.title }}</a></li> | |
{% endfor %} | |
</ul> | |
</div> <!-- end list --> |
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
{% assign product_tags = product.tags | join: ' ' %} | |
{% if product_tags contains 'whatever' %} | |
...do stuff... | |
{% endif %} |
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
<div class="google-reviews"></div> | |
{% schema %} | |
{ | |
"name": "Google Reviews", | |
"class": "google-reviews", | |
"settings": [ | |
], |
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
Since the release of macOS Sierra, when in Finder, it is now possible to use the shortcut: | |
CMD + SHIFT + . | |
Press once to show hidden files and again to hide them. |