blob: ad510ae1c6dbe57c2d1111d016aefe9ba587ba03 (
plain) (
blame)
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
|
<section class="l-container l-container--pad-x l-container--pad-y l-container--content">
<div class="s-headlines s-colored-links">
<h1 class="u-mt0"><span class="s-headlines__title-inner">$title$</span></h1>
$body$
</div>
<div class="c-card-list">
$for(pages.all)$
$if(it.pages)$
<h2 class="c-card-list__category-header">
<a href="$it.url.rel$">$it.title$</a>
</h2>
$if(it.list_grid)$
<div class="c-card-list__category-content c-card-list__category-content--grid">
$for(it.pages.all)$
<a href="$it.url.rel$" class="c-card-list__card c-card">
$if(pages.all.list_read_indicators)$
<div class="c-card__block c-card__block--indicator"></div>
$endif$
$if(pages.all.icon)$
<svg class="c-card__block o-icon" width="1em" height="1em">
<use href="/symbols.svg#icon-$pages.all.icon$"></use>
</svg>
$endif$
<div class="c-card__block c-card__block--main">
$if(it.date)$
<time datetime="$it.date.yyyy_mm_dd$">
<small class="u-dn@sm-hi">
$it.date.short$
</small>
<small class="u-dn@sm-lo">
$it.date.long$
</small>
</time>
<strong class="u-db">$it.title$</strong>
$else$
$it.title$
$endif$
</div>
$if(list_icon)$
<svg class="c-card__block o-icon" width="1em" height="1em">
<use href="/symbols.svg#$list_icon$"></use>
</svg>
$endif$
</a>
$endfor$
</div>
$else$
<div class="c-card-list__category-content">
$for(it.pages.all)$
<a href="$it.url.rel$" class="c-card-list__card c-card">
$if(pages.all.list_read_indicators)$
<div class="c-card__block c-card__block--indicator"></div>
$endif$
$if(pages.all.icon)$
<svg class="c-card__block o-icon" width="1em" height="1em">
<use href="/symbols.svg#icon-$pages.all.icon$"></use>
</svg>
$endif$
<div class="c-card__block c-card__block--main">
$it.title$
</div>
$if(it.date)$
<time datetime="$it.date.yyyy_mm_dd$" class="c-card__block u-fs0">
<small class="u-dn@sm-hi">
$it.date.short$
</small>
<small class="u-dn@sm-lo">
$it.date.long$
</small>
</time>
$endif$
$if(list_icon)$
<svg class="c-card__block o-icon" width="1em" height="1em">
<use href="/symbols.svg#$list_icon$"></use>
</svg>
$endif$
</a>
$endfor$
</div>
$endif$
$endif$
$endfor$
</div>
</section>
|