summaryrefslogtreecommitdiffstats
path: root/templates/partials/gallery_card.html
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2022-07-30 08:08:15 +0200
committerVolpeon <git@volpeon.ink>2022-07-30 08:08:15 +0200
commit69f764fd41cb833164ddb07c31fd835d70215f1f (patch)
tree4414e657fcd830d16fa2705e937f34d30039854f /templates/partials/gallery_card.html
parentUpdate (diff)
downloadvolpeon.ink-69f764fd41cb833164ddb07c31fd835d70215f1f.tar.gz
volpeon.ink-69f764fd41cb833164ddb07c31fd835d70215f1f.tar.bz2
volpeon.ink-69f764fd41cb833164ddb07c31fd835d70215f1f.zip
Semantic fixes, show last update before title
Diffstat (limited to 'templates/partials/gallery_card.html')
-rw-r--r--templates/partials/gallery_card.html13
1 files changed, 4 insertions, 9 deletions
diff --git a/templates/partials/gallery_card.html b/templates/partials/gallery_card.html
index f040952..ca1fdd6 100644
--- a/templates/partials/gallery_card.html
+++ b/templates/partials/gallery_card.html
@@ -28,32 +28,27 @@ $if(it.thumbnail)$
28 <use href="$assets.icons_svg$#$it.icon$"></use> 28 <use href="$assets.icons_svg$#$it.icon$"></use>
29 </svg> 29 </svg>
30 $endif$ 30 $endif$
31 $if(it.draft)$
32 <div class="l-media__block">
33 <span class="o-badge">Draft</span>
34 </div>
35 $endif$
36 <div class="l-media__block l-media__block--main"> 31 <div class="l-media__block l-media__block--main">
37 $if(it.subtitle)$ 32 $if(it.subtitle)$
38 <div> 33 <div>
39 <strong>$it.title$</strong> 34 <strong class="p-name" itemprop="name headline">$it.title$</strong>
40 $if(it.draft)$<span class="o-badge u-ml-100">Draft</span>$endif$ 35 $if(it.draft)$<span class="o-badge u-ml-100">Draft</span>$endif$
41 </div> 36 </div>
42 <small class="u-d-block">$it.subtitle$</small> 37 <small class="u-d-block">$it.subtitle$</small>
43 $elseif(it.category)$ 38 $elseif(it.category)$
44 <small class="u-d-block">$it.category$</small> 39 <small class="u-d-block">$it.category$</small>
45 <div> 40 <div>
46 <strong>$it.title$</strong> 41 <strong class="p-name" itemprop="name headline">$it.title$</strong>
47 $if(it.draft)$<span class="o-badge u-ml-100">Draft</span>$endif$ 42 $if(it.draft)$<span class="o-badge u-ml-100">Draft</span>$endif$
48 </div> 43 </div>
49 $elseif(it.show_date)$ 44 $elseif(it.show_date)$
50 <small class="u-d-block"> 45 <small class="u-d-block">
51 <time datetime="$it.last_update.yyyy_mm_dd$" itemprop="dateCreated"> 46 <time datetime="$it.last_update.yyyy_mm_dd$" class="dt-updated" itemprop="dateModified">
52 $it.last_update.long$ 47 $it.last_update.long$
53 </time> 48 </time>
54 </small> 49 </small>
55 <div> 50 <div>
56 <strong>$it.title$</strong> 51 <strong class="p-name" itemprop="name headline">$it.title$</strong>
57 $if(it.draft)$<span class="o-badge u-ml-100">Draft</span>$endif$ 52 $if(it.draft)$<span class="o-badge u-ml-100">Draft</span>$endif$
58 </div> 53 </div>
59 $else$ 54 $else$