-
Notifications
You must be signed in to change notification settings - Fork 4
/
page.lens
39 lines (33 loc) · 1.17 KB
/
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
35
36
37
38
39
<koken:include file="layouts/header.html" />
<section id="main">
<div class="container">
<div class="row">
<div class="col-md-12">
<koken:load>
<koken:head>
<meta property="og:site_name" content="{{ site.title }}" />
<meta property="og:title" content="{{ page.title strip_html='true' }}" />
<meta property="og:description" content="{{ page.excerpt strip_html='true' }}" />
<meta property="og:url" content="{{ page.url }}" />
<meta property="og:type" content="website" />
<koken:featured_image>
<meta property="og:image" content="{{ content.presets.medium_large.url }}" />
<meta property="og:image:width" content="{{ content.presets.medium_large.width }}" />
<meta property="og:image:height" content="{{ content.presets.medium_large.height }}" />
</koken:featured_image>
</koken:head>
<h1>
{{ page.title }}
</h1>
{{ page.content }}
<koken:else>
<koken:include file="layouts/error.html" />
<koken:note>
No page found
</koken:note>
</koken:load>
</div>
</div>
</div>
</section>
<koken:include file="layouts/footer.html" />