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.html20
1 files changed, 10 insertions, 10 deletions
diff --git a/templates/partials/list_card.html b/templates/partials/list_card.html
index ef52cf4..af17725 100644
--- a/templates/partials/list_card.html
+++ b/templates/partials/list_card.html
@@ -1,41 +1,41 @@
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 <div class="c-card__row"> 3 <div class="c-card__row l-media">
4 $if(it.indicator)$ 4 $if(it.indicator)$
5 <div class="c-card__block c-card__block--indicator"></div> 5 <div class="c-card__indicator l-media__block"></div>
6 $endif$ 6 $endif$
7 $if(it.icon)$ 7 $if(it.icon)$
8 <svg class="c-card__block o-icon" width="1em" height="1em" aria-hidden="true"> 8 <svg class="l-media__block o-icon" width="1em" height="1em" aria-hidden="true">
9 <use href="/symbols.svg#icon-$it.icon$"></use> 9 <use href="/symbols.svg#icon-$it.icon$"></use>
10 </svg> 10 </svg>
11 $endif$ 11 $endif$
12 <div class="c-card__block c-card__block--main"> 12 <div class="l-media__block l-media__block--main">
13 $it.title$ 13 $it.title$
14 </div> 14 </div>
15 $if(it.subtitle)$ 15 $if(it.subtitle)$
16 <div class="c-card__block u-fs0"> 16 <div class="l-media__block u-fs0">
17 <small> 17 <small>
18 $it.subtitle$ 18 $it.subtitle$
19 </small> 19 </small>
20 </div> 20 </div>
21 $elseif(it.category)$ 21 $elseif(it.category)$
22 <div class="c-card__block u-fs0"> 22 <div class="l-media__block u-fs0">
23 <small> 23 <small>
24 $it.category$ 24 $it.category$
25 </small> 25 </small>
26 </div> 26 </div>
27 $elseif(it.date)$ 27 $elseif(it.date)$
28 <time datetime="$it.date.yyyy_mm_dd$" class="c-card__block u-fs0"> 28 <time datetime="$it.date.yyyy_mm_dd$" class="l-media__block u-fs0">
29 <small class="u-dn@sm-hi"> 29 <small class="u-d-none@sm-hi">
30 $it.date.short$ 30 $it.date.short$
31 </small> 31 </small>
32 <small class="u-dn@sm-lo"> 32 <small class="u-d-none@sm-lo">
33 $it.date.long$ 33 $it.date.long$
34 </small> 34 </small>
35 </time> 35 </time>
36 $endif$ 36 $endif$
37 $if(it.post_icon)$ 37 $if(it.post_icon)$
38 <svg class="c-card__block o-icon" width="1em" height="1em" aria-hidden="true"> 38 <svg class="l-media__block o-icon" width="1em" height="1em" aria-hidden="true">
39 <use href="/symbols.svg#icon-$it.post_icon$"></use> 39 <use href="/symbols.svg#icon-$it.post_icon$"></use>
40 </svg> 40 </svg>
41 $endif$ 41 $endif$