-
-
Save bradleyboy/11301568 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
<!-- Load recent archive albums --> | |
<div class="section-title item_meta">RECENT ALBUMS FROM THE ARCHIVE</div> | |
<koken:variable name="count" value="0" /> | |
<koken:load source="albums" filter:flat="true" filter:types="standard" limit="2"> | |
<!-- Loop over each album --> | |
<koken:loop> | |
<article> | |
<div class="article-inner"> | |
<koken:link> | |
<koken:img /> | |
</koken:link> | |
album type: {{ album.album_type }}, album id: {{ album.id }} | |
</div> | |
</article> | |
</koken:loop> | |
<!-- Fallback content if no data was loaded by koken:load --> | |
<koken:else> | |
<!-- Use koken:note to display this message in the Site editor only --> | |
<koken:note> | |
No recent albums found. Make some albums public in Library. | |
</koken:note> | |
</koken:load> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment