summaryrefslogtreecommitdiffstats
path: root/templates/partials/grid_card.html
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2022-07-27 19:10:15 +0200
committerVolpeon <git@volpeon.ink>2022-07-27 19:10:15 +0200
commitfd8aa54a4ce623d55219b1865e23b93b3b26e265 (patch)
treedc9ae2a4bcbfebe35defaede22e21b9cc1bd08d3 /templates/partials/grid_card.html
parentUpdated emojis (diff)
downloadvolpeon.ink-fd8aa54a4ce623d55219b1865e23b93b3b26e265.tar.gz
volpeon.ink-fd8aa54a4ce623d55219b1865e23b93b3b26e265.tar.bz2
volpeon.ink-fd8aa54a4ce623d55219b1865e23b93b3b26e265.zip
Added draft feature
Diffstat (limited to 'templates/partials/grid_card.html')
-rw-r--r--templates/partials/grid_card.html7
1 files changed, 5 insertions, 2 deletions
diff --git a/templates/partials/grid_card.html b/templates/partials/grid_card.html
index abcd923..8b65320 100644
--- a/templates/partials/grid_card.html
+++ b/templates/partials/grid_card.html
@@ -17,13 +17,16 @@ $if(it.url)$
17 </svg> 17 </svg>
18 $endif$ 18 $endif$
19 <div class="l-media__block l-media__block--main"> 19 <div class="l-media__block l-media__block--main">
20 $if(it.subtitle)$ 20 $if(it.draft)$
21 <strong class="u-d-block">$it.title$</strong>
22 <div><span class="o-badge">Draft</span></div>
23 $elseif(it.subtitle)$
21 <strong class="u-d-block">$it.title$</strong> 24 <strong class="u-d-block">$it.title$</strong>
22 <small class="u-d-block">$it.subtitle$</small> 25 <small class="u-d-block">$it.subtitle$</small>
23 $elseif(it.category)$ 26 $elseif(it.category)$
24 <small class="u-d-block">$it.category$</small> 27 <small class="u-d-block">$it.category$</small>
25 <strong class="u-d-block">$it.title$</strong> 28 <strong class="u-d-block">$it.title$</strong>
26 $elseif(it.last_update)$ 29 $elseif(it.show_date)$
27 <small class="u-d-block"> 30 <small class="u-d-block">
28 <time datetime="$it.last_update.yyyy_mm_dd$" itemprop="dateCreated"> 31 <time datetime="$it.last_update.yyyy_mm_dd$" itemprop="dateCreated">
29 $it.last_update.long$ 32 $it.last_update.long$