summaryrefslogtreecommitdiffstats
path: root/templates/partials
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2022-07-10 18:51:39 +0200
committerVolpeon <git@volpeon.ink>2022-07-10 18:51:39 +0200
commit31992bdba775fc3022a858ace9743620e70aee17 (patch)
tree5946c1e2edfcad8d3b36b1e1fd554e0a6c2f39db /templates/partials
parentAdd support for custom emojis (diff)
downloadvolpeon.ink-31992bdba775fc3022a858ace9743620e70aee17.tar.gz
volpeon.ink-31992bdba775fc3022a858ace9743620e70aee17.tar.bz2
volpeon.ink-31992bdba775fc3022a858ace9743620e70aee17.zip
Fixed date handling
Diffstat (limited to 'templates/partials')
-rw-r--r--templates/partials/gallery_card.html6
-rw-r--r--templates/partials/grid_card.html6
-rw-r--r--templates/partials/list_card.html10
3 files changed, 11 insertions, 11 deletions
diff --git a/templates/partials/gallery_card.html b/templates/partials/gallery_card.html
index 4aa274a..3020c2d 100644
--- a/templates/partials/gallery_card.html
+++ b/templates/partials/gallery_card.html
@@ -36,10 +36,10 @@ $if(it.thumbnail)$
36 $elseif(it.category)$ 36 $elseif(it.category)$
37 <small class="u-d-block">$it.category$</small> 37 <small class="u-d-block">$it.category$</small>
38 <strong class="u-d-block">$it.title$</strong> 38 <strong class="u-d-block">$it.title$</strong>
39 $elseif(it.date)$ 39 $elseif(it.last_update)$
40 <small class="u-d-block"> 40 <small class="u-d-block">
41 <time datetime="$it.date.yyyy_mm_dd$" itemprop="dateCreated"> 41 <time datetime="$it.last_update.yyyy_mm_dd$" itemprop="dateCreated">
42 $it.date.long$ 42 $it.last_update.long$
43 </time> 43 </time>
44 </small> 44 </small>
45 <strong class="u-d-block">$it.title$</strong> 45 <strong class="u-d-block">$it.title$</strong>
diff --git a/templates/partials/grid_card.html b/templates/partials/grid_card.html
index 4120169..abcd923 100644
--- a/templates/partials/grid_card.html
+++ b/templates/partials/grid_card.html
@@ -23,10 +23,10 @@ $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 class="u-d-block"> 27 <small class="u-d-block">
28 <time datetime="$it.date.yyyy_mm_dd$" itemprop="dateCreated"> 28 <time datetime="$it.last_update.yyyy_mm_dd$" itemprop="dateCreated">
29 $it.date.long$ 29 $it.last_update.long$
30 </time> 30 </time>
31 </small> 31 </small>
32 <strong class="u-d-block">$it.title$</strong> 32 <strong class="u-d-block">$it.title$</strong>
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$