diff options
Diffstat (limited to 'templates/partials/list_card.html')
-rw-r--r-- | templates/partials/list_card.html | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/templates/partials/list_card.html b/templates/partials/list_card.html index 755686f..0695eed 100644 --- a/templates/partials/list_card.html +++ b/templates/partials/list_card.html | |||
@@ -36,16 +36,14 @@ $if(it.url)$ | |||
36 | </div> | 36 | </div> |
37 | <div class="l-media__block l-media__block--main u-d-none@sm-lo"> | 37 | <div class="l-media__block l-media__block--main u-d-none@sm-lo"> |
38 | $it.title$ | 38 | $it.title$ |
39 | </div> | 39 | </div> |
40 | $if(it.subtitle)$ | 40 | $if(it.draft)$ |
41 | <small class="l-media__block u-d-none@sm-lo"> | 41 | <div class="l-media__block u-d-none@sm-lo"><span class="o-badge">Draft</span></div> |
42 | $it.subtitle$ | 42 | $elseif(it.subtitle)$ |
43 | </small> | 43 | <small class="l-media__block u-d-none@sm-lo">$it.subtitle$</small> |
44 | $elseif(it.category)$ | 44 | $elseif(it.category)$ |
45 | <small class="l-media__block u-d-none@sm-lo"> | 45 | <small class="l-media__block u-d-none@sm-lo">$it.category$</small> |
46 | $it.category$ | 46 | $elseif(it.show_date)$ |
47 | </small> | ||
48 | $elseif(it.last_update)$ | ||
49 | <small class="l-media__block u-d-none@sm-lo"> | 47 | <small class="l-media__block u-d-none@sm-lo"> |
50 | <time datetime="$it.last_update.yyyy_mm_dd$" itemprop="dateCreated"> | 48 | <time datetime="$it.last_update.yyyy_mm_dd$" itemprop="dateCreated"> |
51 | $it.last_update.short$ | 49 | $it.last_update.short$ |