Skip to content

Instantly share code, notes, and snippets.

View bradleyboy's full-sized avatar
🤷‍♂️

Brad Daily bradleyboy

🤷‍♂️
View GitHub Profile
<koken:topics>
<koken:loop>
<koken:load source="album" filter:id="album.id">
<koken:loop>
<koken: img />
</koken:loop>
</koken:load>
</koken:loop>
</koken:topics>
<koken:topics>
<koken:loop>
<koken:load source="album" filter:id="{{ album.id }}">
<koken:loop>
<koken:img />
</koken:loop>
</koken:load>
</koken:loop>
</koken:topics>
<koken:if true="settings.albums_index_show_title">
<h4>
<koken:load style="margin-left: 0.2em;">
{{ album.title }} <!-- Prints SET title -->
</koken:load>
</h4>
<p>Work
<koken:load>
<koken:if true="settings.albums_index_show_title">
<h4>
<koken:load style="margin-left: 0.2em;">
{{ album.title }} <!-- Prints SET title -->
</koken:load>
</h4>
<p>Work
<koken:load>
@bradleyboy
bradleyboy / gist:6700472
Last active December 23, 2015 21:59 — forked from jackydra/gist:6697057
<koken:parent>
<ul class="sidebar-meta">
<li class="sidebar-meta-head"><p>{{ album.title }}</p></li>
<li class="sidebar-meta-head">
<p>Work
{{ _parent.album.context.position }}/{{ _parent.album.context.position }}
</p>
</li>
</koken:parent>
<!-- 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 />