This repository has been archived by the owner on Mar 12, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathalbums.lens
executable file
·55 lines (44 loc) · 1.62 KB
/
albums.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
<koken:include file="inc/header.html" />
<!-- PAGE DE GARDE -->
<koken:load limit="4">
<koken:head>
<meta property="og:site_name" content="{{ site.title }}" />
<meta property="og:title" content="{{ labels.album.plural }}" />
<meta property="og:description" content="{{ site.description strip_html='true' }}" />
<meta property="og:type" content="website" />
<koken:first>
<koken:covers>
<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>
</koken:covers>
</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>
<koken:covers>
<koken:shift>
<meta name="twitter:image{{ index }}" content="{{ content.presets.medium_large.cropped.url }}">
</koken:shift>
</koken:covers>
</koken:loop>
</koken:not>
</koken:head>
</koken:load>
<koken:load infinite="true">
<koken:include file="inc/loop-album-grid.html" />
<koken:include file="inc/infinite-msg.html" />
<koken:include file="inc/like-tweet.html" />
<koken:else>
<koken:note>
<strong>No albums found.</strong> Create some in the Library.
</koken:note>
<br>
<br>
</koken:load>
<koken:include file="inc/footer.html" />