Created
March 30, 2014 21:44
-
-
Save tdominey/9880364 to your computer and use it in GitHub Desktop.
Album/set cover images in koken:event_album
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
<koken:event> | |
<!-- Render if event is a new album --> | |
<koken:event_album> | |
<!-- If an album, display primary cover image and link to album.lens to view --> | |
<koken:if data="album.album_type" equals="standard"> | |
<koken:link title="View {{ album.title }}"> | |
<koken:img /> | |
</koken:link> | |
</koken:if> | |
<!-- If a set, display primary cover image of each album it contains and link to set.lens to view --> | |
<koken:if data="album.album_type" equals="set"> | |
<koken:link title="View {{ album.title }}"> | |
<koken:covers> | |
<koken:loop> | |
<koken:img /> | |
</koken:loop> | |
</koken:covers> | |
</koken:link> | |
</koken:if> | |
</koken:event_album> | |
</koken:event> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment