-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patharchive.contents.lens
68 lines (54 loc) · 2.11 KB
/
archive.contents.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<koken:include file="layouts/header.html" />
<koken:load limit="4">
<koken:head>
<meta property="og:site_name" content="{{ site.title }}" />
<meta property="og:title" content="{{ labels.content.plural }}" />
<meta property="og:description" content="{{ site.description strip_html='true' }}" />
<meta property="og:type" content="website" />
<koken:first>
<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:first>
<meta property="og:url" content="{{ location.site_url }}{{ location.here }}" />
<koken:not empty="profile.twitter">
<meta name="twitter:card" content="gallery" />
<meta name="twitter:site" content="@{{ profile.twitter }}" />
<meta name="twitter:creator" content="@{{ profile.twitter }}" />
<koken:loop>
<meta name="twitter:image{{ index }}" content="{{ content.presets.medium_large.cropped.url }}">
</koken:loop>
</koken:not>
</koken:head>
</koken:load>
<div id="main" class="layout_{{ settings.page_layout }} strip_{{ settings.show_strip }}">
<div id="main_wrap">
<koken:if data="settings.page_layout" equals="grid">
<koken:variable name="limit" value="30" />
<koken:else>
<koken:variable name="limit" value="6" />
</koken:if>
<koken:load limit="{{ limit }}" infinite="true">
<header class="index">
<h1>
{{ language.viewing_all_content_in }}
<koken:if data="{{ archive.type }}" equals="tag">
#{{ archive.title }}
</koken:if>
<koken:if data="{{ archive.type }}" equals="category">
{{ archive.title }}
</koken:if>
</h1>
</header>
<koken:include file="layouts/{{ settings.page_layout }}_loop.html" />
<koken:else>
<koken:note>
This page displays your latest images and videos. Upload some in the Library.
</koken:note>
</koken:load>
</div>
</div>
<koken:if data="settings.page_layout" equals="grid">
<koken:include file="layouts/pillar_madison.html" />
</koken:if>
<koken:include file="layouts/footer.html" />