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