summaryrefslogtreecommitdiffstats
path: root/templates/partials/grid_card.html
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2021-11-19 20:39:55 +0100
committerVolpeon <git@volpeon.ink>2021-11-19 20:39:55 +0100
commit670696ff6e7c91d6d92951d2da47d7d4c85ee1d3 (patch)
treedd018124053c3b29be66e7300b928b966459578b /templates/partials/grid_card.html
parentAdded print style (diff)
downloadvolpeon.ink-670696ff6e7c91d6d92951d2da47d7d4c85ee1d3.tar.gz
volpeon.ink-670696ff6e7c91d6d92951d2da47d7d4c85ee1d3.tar.bz2
volpeon.ink-670696ff6e7c91d6d92951d2da47d7d4c85ee1d3.zip
Added text ellipsis to cards, added macro to use icons in content
Diffstat (limited to 'templates/partials/grid_card.html')
-rw-r--r--templates/partials/grid_card.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/partials/grid_card.html b/templates/partials/grid_card.html
index 4b24711..449b25c 100644
--- a/templates/partials/grid_card.html
+++ b/templates/partials/grid_card.html
@@ -9,11 +9,11 @@
9 $endif$ 9 $endif$
10 <div class="c-card__block c-card__block--main"> 10 <div class="c-card__block c-card__block--main">
11 $if(it.subtitle)$ 11 $if(it.subtitle)$
12 <strong class="u-db">$it.title$</strong> 12 <strong class="u-db u-elp">$it.title$</strong>
13 <small class="u-db">$it.subtitle$</small> 13 <small class="u-db u-elp">$it.subtitle$</small>
14 $elseif(it.category)$ 14 $elseif(it.category)$
15 <small class="u-db">$it.category$</small> 15 <small class="u-db u-elp">$it.category$</small>
16 <strong class="u-db">$it.title$</strong> 16 <strong class="u-db u-elp">$it.title$</strong>
17 $elseif(it.date)$ 17 $elseif(it.date)$
18 <time datetime="$it.date.yyyy_mm_dd$"> 18 <time datetime="$it.date.yyyy_mm_dd$">
19 <small class="u-dn@sm-hi"> 19 <small class="u-dn@sm-hi">
@@ -23,7 +23,7 @@
23 $it.date.long$ 23 $it.date.long$
24 </small> 24 </small>
25 </time> 25 </time>
26 <strong class="u-db">$it.title$</strong> 26 <strong class="u-db u-elp">$it.title$</strong>
27 $else$ 27 $else$
28 $it.title$ 28 $it.title$
29 $endif$ 29 $endif$