Created
January 11, 2014 17:18
-
-
Save icegulch/8373741 to your computer and use it in GitHub Desktop.
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 class="product-listing"> | |
## LOOP ONE | |
<li class="bakery-shop-collections"> | |
<h2>{{linklists.bakery-shop-collections.title}}</h2> | |
<ul> | |
{% for link in linklists.bakery-shop-collections.links %} | |
<li{% if link.active %} class="active"{% endif %}> | |
<a href="{{ link.url }}">{{ link.title }}</a> | |
</li> | |
{% endfor %} | |
</ul> | |
</li> | |
## LOOP TWO | |
{% for product in products %} | |
<li> | |
<a href="{{product.url}}" class="product-image"> | |
{% if product.featured_image %} | |
<img src="{{ product.featured_image | product_img_url: 'large' }}" /> | |
{% else %} | |
{{ 'placeholder.gif' | asset_url | img_tag }} | |
{% endif %} | |
</a> | |
<h3><a href="{{product.url}}">{{product.title}}</a></h3> | |
</li> | |
{% endfor %} | |
</ul><!-- eo product-listing --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment