Skip to content

Instantly share code, notes, and snippets.

@jackydra
jackydra / gist:6341559
Last active December 21, 2015 17:38
koken lens variables issue
<p>Work
<koken:load>
{{ _parent.album.context.position }}
/
{{ album.counts.total }} <!-- prints the number of albums in this set -->
</koken:load>
</p>
<koken:parent>
<ul class="sidebar-meta">
<li class="sidebar-meta-head"><p>{{ album.title }}</p></li>
<li class="sidebar-meta-head">
<p>Work
<koken:load>{{ album.context.position }}</koken:load>
/{{ album.counts.total }}
</p>
</li>
</koken:parent>