-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathset.lens
58 lines (40 loc) · 1.71 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
<koken:include file="inc/header.html" />
<koken:load 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 data="{{ settings.cover_type }}" equals="image">
<koken:include file="inc/col_head_cover.html" />
</koken:if>
<koken:if data="{{ settings.cover_type }}" equals="text">
<koken:include file="inc/col_head.html" />
</koken:if>
<section id="content">
<koken:include file="inc/grid-albums.html" />
</section>
<koken:include file="inc/pillar_regale.html" />
<koken:else>
<koken:note>
<strong>No albums found.</strong> Create some in the Library.
</koken:note>
</koken:load>
<koken:include file="inc/footer.html" />