forked from Koken-Community-Support/OxyGen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathessays.lens
31 lines (31 loc) · 1.02 KB
/
essays.lens
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<koken:include file="inc/components/header.html" />
<main role="main">
<div class="page-content">
<koken:load limit="{{ settings.essays_index_limit }}" infinite="true">
<koken:loop>
<article class="entry">
<p class="essay-time"><koken:time /></p>
<koken:link title="View: {{ essay.title }}"><h2>{{ essay.title }}</h2></koken:link>
</article>
<koken:if data="settings.show_feat_img_essays" equals="true">
<koken:featured_image>
<koken:link title="View: {{ essay.title }}"><koken:img size="3:1" lazy="true"/></koken:link>
</koken:featured_image>
</koken:if>
</koken:loop>
<koken:else>
<koken:note>
No published essays found
</koken:note>
</koken:load>
<koken:include file="inc/components/loading_msg.html" />
</div>
<koken:if data="settings.footer_setting" equals="tiny_footer">
<koken:include file="inc/components/footer_tiny.html" />
</koken:if>
<koken:if data="settings.footer_setting" equals="show_footer">
<koken:include file="inc/components/footer.html" />
</koken:if>
</main>
</body>
</html>