-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathset.lens
107 lines (89 loc) · 3.51 KB
/
set.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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<koken:include file="layouts/header.html" />
<div id="main" class="layout_{{ settings.page_layout }} palign_{{ settings.page_align }} strip_{{ settings.show_strip }}">
<div id="main_wrap" class="calign_{{ settings.content_align }}">
<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">
<koken:head>
<meta property="og:site_name" content="{{ site.title }}" />
<meta property="og:title" content="{{ album.title strip_html="true" }}" />
<meta property="og:description" content="{{ album.summary | album.description strip_html="true" }}" />
<meta property="og:type" content="website" />
<meta property="og:url" content="{{ album.url }}" />
<koken:covers><koken:shift>
<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:shift></koken:covers>
<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:covers minimum="4" limit="4">
<koken:loop>
<meta name="twitter:image{{ index }}" content="{{ content.presets.medium_large.cropped.url }}">
</koken:loop>
</koken:covers>
</koken:not>
</koken:head>
<koken:if true="settings.show_album_info">
<header class="index anim_{{ settings.album_anim }} cap_width">
<h1>
{{ album.title }}
<koken:filtered>
<span class="item_meta">
<koken:loop>
<koken:if data="{{ filter.title }}" equals="Date">
{{ filter.count plural="language.items" singular="language.item" }} {{ language.added }} {{ filter.value }} / <koken:link title="{{ language.view_all_of_title collate='album.title' }}">{{ language.view_all }}</koken:link>
</koken:if>
</koken:loop>
</span>
</koken:filtered>
</h1>
{{ album.description paragraphs="true" }}
<koken:if true="settings.show_album_tagscats">
<koken:categories>
<p class="meta">
<koken:loop separator=", ">
<koken:link title="{{ language.view_all_albums_in_title collate='category.title' }}">
{{ category.title }}
</koken:link>
</koken:loop>
</p>
</koken:categories>
<koken:tags>
<p class="meta tags">
<koken:loop separator=" ">
<koken:link title="{{ language.view_all_albums_in }} #{{ tag.title }}">
#{{ tag.title }}
</koken:link>
</koken:loop>
</p>
</koken:tags>
</koken:if>
<koken:topics>
<p class="meta">
{{ language.read_more_in }}
<koken:loop separator=", ">
<koken:link title="{{ language.read_more_in_title collate='title' }}">
{{ title }}
</koken:link>
</koken:loop>
</p>
</koken:topics>
</header>
</koken:if>
<koken:include file="layouts/{{ settings.page_layout }}_albums_loop.html" />
<koken:else>
<koken:note>
This page displays sets. None were found.
</koken:note>
</koken:load>
</div>
</div>
<koken:include file="layouts/pillar_madison.html" />
<koken:include file="layouts/footer.html" />