diff options
author | Volpeon <git@volpeon.ink> | 2022-08-23 14:07:20 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2022-08-23 14:07:20 +0200 |
commit | 7c655a95058aa753355251eb78b83d31d44972ab (patch) | |
tree | 9024a3d991727d1f10f99d62497bdd5228e01640 /templates/partials/list_card.html | |
parent | Update (diff) | |
download | volpeon.ink-7c655a95058aa753355251eb78b83d31d44972ab.tar.gz volpeon.ink-7c655a95058aa753355251eb78b83d31d44972ab.tar.bz2 volpeon.ink-7c655a95058aa753355251eb78b83d31d44972ab.zip |
Better navigation of related content
Diffstat (limited to 'templates/partials/list_card.html')
-rw-r--r-- | templates/partials/list_card.html | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/templates/partials/list_card.html b/templates/partials/list_card.html index e12f62f..713919a 100644 --- a/templates/partials/list_card.html +++ b/templates/partials/list_card.html | |||
@@ -18,21 +18,13 @@ | |||
18 | </svg> | 18 | </svg> |
19 | $endif$ | 19 | $endif$ |
20 | <div class="l-media__block l-media__block--main"> | 20 | <div class="l-media__block l-media__block--main"> |
21 | <span class="p-name" itemprop="name headline"> | 21 | <span class="p-name" itemprop="name headline">$it.title$</span> |
22 | $it.title$ | 22 | $if(it.draft)$<span class="o-badge u-ml-100">Draft</span>$endif$ |
23 | </span> | ||
24 | $if(it.draft)$ | ||
25 | <span class="o-badge u-ml-100">Draft</span> | ||
26 | $endif$ | ||
27 | </div> | 23 | </div> |
28 | $if(it.subtitle)$ | 24 | $if(it.subtitle)$ |
29 | <small class="l-media__block u-d-none@sm-lo"> | 25 | <small class="l-media__block u-d-none@sm-lo">$it.subtitle$</small> |
30 | $it.subtitle$ | ||
31 | </small> | ||
32 | $elseif(it.category)$ | 26 | $elseif(it.category)$ |
33 | <small class="l-media__block u-d-none@sm-lo"> | 27 | <small class="l-media__block u-d-none@sm-lo">$it.category$</small> |
34 | $it.category$ | ||
35 | </small> | ||
36 | $elseif(it.show_date)$ | 28 | $elseif(it.show_date)$ |
37 | <small class="l-media__block u-d-none@sm-lo"> | 29 | <small class="l-media__block u-d-none@sm-lo"> |
38 | <time datetime="$it.last_update.yyyy_mm_dd$" class="dt-updated" itemprop="dateModified"> | 30 | <time datetime="$it.last_update.yyyy_mm_dd$" class="dt-updated" itemprop="dateModified"> |