Created
August 22, 2016 18:01
-
-
Save effervescentia/0401991b2f37ab928528fb8ea00de60c to your computer and use it in GitHub Desktop.
Searchandiser UI collection templates
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
<gb-results> | |
<ul> | |
<li each="{ records }"> | |
<div if="{ collection === 'default' }"> | |
<a href="#"> | |
<img riot-src="{ allMeta[struct.image] }" alt="" /> | |
</a> | |
<a href="#"> | |
<p>{ allMeta[struct.title] }</p> | |
<p>{ allMeta[struct.price] }</p> | |
</a> | |
</div> | |
<div if="{ collection !== 'default' }"> | |
<a href="#">{ allMeta[struct.title] }</a> | |
<a href="#"> | |
<img riot-src="{ allMeta[struct.image] }" alt="" /> | |
</a> | |
<p>{ allMeta[struct.price] }</p> | |
</div> | |
</li> | |
</ul> | |
</gb-results> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment