summaryrefslogtreecommitdiffstats
path: root/templates/partials/list_card.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/partials/list_card.html')
-rw-r--r--templates/partials/list_card.html76
1 files changed, 39 insertions, 37 deletions
diff --git a/templates/partials/list_card.html b/templates/partials/list_card.html
index 73caa05..8244cf5 100644
--- a/templates/partials/list_card.html
+++ b/templates/partials/list_card.html
@@ -1,42 +1,44 @@
1$if(it.url)$ 1$if(it.url)$
2 <a href="$it.url.rel$" class="l-card-list__card c-card"> 2 <a href="$it.url.rel$" class="l-card-list__card c-card">
3 $if(it.indicator)$ 3 <div class="c-card__row">
4 <div class="c-card__block c-card__block--indicator"></div> 4 $if(it.indicator)$
5 $endif$ 5 <div class="c-card__block c-card__block--indicator"></div>
6 $if(it.icon)$ 6 $endif$
7 <svg class="c-card__block o-icon" width="1em" height="1em"> 7 $if(it.icon)$
8 <use href="/symbols.svg#icon-$it.icon$"></use> 8 <svg class="c-card__block o-icon" width="1em" height="1em">
9 </svg> 9 <use href="/symbols.svg#icon-$it.icon$"></use>
10 $endif$ 10 </svg>
11 <div class="c-card__block c-card__block--main"> 11 $endif$
12 $it.title$ 12 <div class="c-card__block c-card__block--main">
13 </div> 13 $it.title$
14 $if(it.subtitle)$
15 <div class="c-card__block u-fs0">
16 <small>
17 $it.subtitle$
18 </small>
19 </div>
20 $elseif(it.category)$
21 <div class="c-card__block u-fs0">
22 <small>
23 $it.category$
24 </small>
25 </div> 14 </div>
26 $elseif(it.date)$ 15 $if(it.subtitle)$
27 <time datetime="$it.date.yyyy_mm_dd$" class="c-card__block u-fs0"> 16 <div class="c-card__block u-fs0">
28 <small class="u-dn@sm-hi"> 17 <small>
29 $it.date.short$ 18 $it.subtitle$
30 </small> 19 </small>
31 <small class="u-dn@sm-lo"> 20 </div>
32 $it.date.long$ 21 $elseif(it.category)$
33 </small> 22 <div class="c-card__block u-fs0">
34 </time> 23 <small>
35 $endif$ 24 $it.category$
36 $if(it.post_icon)$ 25 </small>
37 <svg class="c-card__block o-icon" width="1em" height="1em"> 26 </div>
38 <use href="/symbols.svg#icon-$it.post_icon$"></use> 27 $elseif(it.date)$
39 </svg> 28 <time datetime="$it.date.yyyy_mm_dd$" class="c-card__block u-fs0">
40 $endif$ 29 <small class="u-dn@sm-hi">
30 $it.date.short$
31 </small>
32 <small class="u-dn@sm-lo">
33 $it.date.long$
34 </small>
35 </time>
36 $endif$
37 $if(it.post_icon)$
38 <svg class="c-card__block o-icon" width="1em" height="1em">
39 <use href="/symbols.svg#icon-$it.post_icon$"></use>
40 </svg>
41 $endif$
42 </div>
41 </a> 43 </a>
42$endif$ 44$endif$