diff options
author | Volpeon <git@volpeon.ink> | 2022-07-10 18:51:39 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2022-07-10 18:51:39 +0200 |
commit | 31992bdba775fc3022a858ace9743620e70aee17 (patch) | |
tree | 5946c1e2edfcad8d3b36b1e1fd554e0a6c2f39db /templates/partials/list_card.html | |
parent | Add support for custom emojis (diff) | |
download | volpeon.ink-31992bdba775fc3022a858ace9743620e70aee17.tar.gz volpeon.ink-31992bdba775fc3022a858ace9743620e70aee17.tar.bz2 volpeon.ink-31992bdba775fc3022a858ace9743620e70aee17.zip |
Fixed date handling
Diffstat (limited to 'templates/partials/list_card.html')
-rw-r--r-- | templates/partials/list_card.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/partials/list_card.html b/templates/partials/list_card.html index 539b7d3..755686f 100644 --- a/templates/partials/list_card.html +++ b/templates/partials/list_card.html | |||
@@ -23,9 +23,9 @@ $if(it.url)$ | |||
23 | $elseif(it.category)$ | 23 | $elseif(it.category)$ |
24 | <small class="u-d-block">$it.category$</small> | 24 | <small class="u-d-block">$it.category$</small> |
25 | <strong class="u-d-block">$it.title$</strong> | 25 | <strong class="u-d-block">$it.title$</strong> |
26 | $elseif(it.date)$ | 26 | $elseif(it.last_update)$ |
27 | <small> | 27 | <small> |
28 | <time datetime="$it.date.yyyy_mm_dd$">$it.date.long$</time> | 28 | <time datetime="$it.last_update.yyyy_mm_dd$">$it.last_update.long$</time> |
29 | </small> | 29 | </small> |
30 | <strong class="u-d-block">$it.title$</strong> | 30 | <strong class="u-d-block">$it.title$</strong> |
31 | $else$ | 31 | $else$ |
@@ -45,10 +45,10 @@ $if(it.url)$ | |||
45 | <small class="l-media__block u-d-none@sm-lo"> | 45 | <small class="l-media__block u-d-none@sm-lo"> |
46 | $it.category$ | 46 | $it.category$ |
47 | </small> | 47 | </small> |
48 | $elseif(it.date)$ | 48 | $elseif(it.last_update)$ |
49 | <small class="l-media__block u-d-none@sm-lo"> | 49 | <small class="l-media__block u-d-none@sm-lo"> |
50 | <time datetime="$it.date.yyyy_mm_dd$" itemprop="dateCreated"> | 50 | <time datetime="$it.last_update.yyyy_mm_dd$" itemprop="dateCreated"> |
51 | $it.date.short$ | 51 | $it.last_update.short$ |
52 | </time> | 52 | </time> |
53 | </small> | 53 | </small> |
54 | $endif$ | 54 | $endif$ |