forked from Koken-Community-Support/OxyGen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpage.lens
34 lines (34 loc) · 1022 Bytes
/
page.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
32
33
34
<koken:include file="inc/components/header.html" />
<main role="main">
<div class="page-content">
<koken:load>
<koken:if data="settings.show_feat_img_pages" equals="true">
<koken:featured_image><koken:img lazy="true" /></koken:featured_image>
</koken:if>
<article class="entry">
<h1 id="page-name">{{ page.title }}</h1>
{{ page.content }}
</article>
<koken:else>
<koken:note>
No page found
</koken:note>
</koken:load>
</div>
<koken:if data="settings.show_sharing_page" equals="true">
<koken:include file="inc/components/share.html" />
</koken:if>
<koken:if data="settings.show_disc_page" equals="true">
<div class="disquis">
<koken:discussion>{{ discussion }}</koken:discussion>
</div>
</koken:if>
<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>