diff options
author | Volpeon <git@volpeon.ink> | 2021-11-14 10:28:18 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2021-11-14 10:28:18 +0100 |
commit | f9a74f5ca7c1e919bba46d99d65a7b3a893a7bd7 (patch) | |
tree | 14853441ca7cd8f7e283c93e871d801cd43db10a /templates/partials | |
parent | Generate special list metadata (diff) | |
download | volpeon.ink-f9a74f5ca7c1e919bba46d99d65a7b3a893a7bd7.tar.gz volpeon.ink-f9a74f5ca7c1e919bba46d99d65a7b3a893a7bd7.tar.bz2 volpeon.ink-f9a74f5ca7c1e919bba46d99d65a7b3a893a7bd7.zip |
List improvements
Diffstat (limited to 'templates/partials')
-rw-r--r-- | templates/partials/grid_card.html | 3 | ||||
-rw-r--r-- | templates/partials/list_card.html | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/templates/partials/grid_card.html b/templates/partials/grid_card.html index 25c2271..4b24711 100644 --- a/templates/partials/grid_card.html +++ b/templates/partials/grid_card.html | |||
@@ -9,7 +9,10 @@ | |||
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 | <small class="u-db">$it.subtitle$</small> | 13 | <small class="u-db">$it.subtitle$</small> |
14 | $elseif(it.category)$ | ||
15 | <small class="u-db">$it.category$</small> | ||
13 | <strong class="u-db">$it.title$</strong> | 16 | <strong class="u-db">$it.title$</strong> |
14 | $elseif(it.date)$ | 17 | $elseif(it.date)$ |
15 | <time datetime="$it.date.yyyy_mm_dd$"> | 18 | <time datetime="$it.date.yyyy_mm_dd$"> |
diff --git a/templates/partials/list_card.html b/templates/partials/list_card.html index 644e0d3..0ed6360 100644 --- a/templates/partials/list_card.html +++ b/templates/partials/list_card.html | |||
@@ -16,6 +16,12 @@ | |||
16 | $it.subtitle$ | 16 | $it.subtitle$ |
17 | </small> | 17 | </small> |
18 | </div> | 18 | </div> |
19 | $elseif(it.category)$ | ||
20 | <div class="c-card__block u-fs0"> | ||
21 | <small> | ||
22 | $it.category$ | ||
23 | </small> | ||
24 | </div> | ||
19 | $elseif(it.date)$ | 25 | $elseif(it.date)$ |
20 | <time datetime="$it.date.yyyy_mm_dd$" class="c-card__block u-fs0"> | 26 | <time datetime="$it.date.yyyy_mm_dd$" class="c-card__block u-fs0"> |
21 | <small class="u-dn@sm-hi"> | 27 | <small class="u-dn@sm-hi"> |