summaryrefslogtreecommitdiffstats
path: root/templates/partials/gallery_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/gallery_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/gallery_card.html')
-rw-r--r--templates/partials/gallery_card.html7
1 files changed, 5 insertions, 2 deletions
diff --git a/templates/partials/gallery_card.html b/templates/partials/gallery_card.html
index 3020c2d..e319fa4 100644
--- a/templates/partials/gallery_card.html
+++ b/templates/partials/gallery_card.html
@@ -30,13 +30,16 @@ $if(it.thumbnail)$
30 </svg> 30 </svg>
31 $endif$ 31 $endif$
32 <div class="l-media__block l-media__block--main"> 32 <div class="l-media__block l-media__block--main">
33 $if(it.subtitle)$ 33 $if(it.draft)$
34 <strong class="u-d-block">$it.title$</strong>
35 <div><span class="o-badge">Draft</span></div>
36 $elseif(it.subtitle)$
34 <strong class="u-d-block">$it.title$</strong> 37 <strong class="u-d-block">$it.title$</strong>
35 <small class="u-d-block">$it.subtitle$</small> 38 <small class="u-d-block">$it.subtitle$</small>
36 $elseif(it.category)$ 39 $elseif(it.category)$
37 <small class="u-d-block">$it.category$</small> 40 <small class="u-d-block">$it.category$</small>
38 <strong class="u-d-block">$it.title$</strong> 41 <strong class="u-d-block">$it.title$</strong>
39 $elseif(it.last_update)$ 42 $elseif(it.show_date)$
40 <small class="u-d-block"> 43 <small class="u-d-block">
41 <time datetime="$it.last_update.yyyy_mm_dd$" itemprop="dateCreated"> 44 <time datetime="$it.last_update.yyyy_mm_dd$" itemprop="dateCreated">
42 $it.last_update.long$ 45 $it.last_update.long$