summaryrefslogtreecommitdiffstats
path: root/templates/partials/gallery_card.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/partials/gallery_card.html')
-rw-r--r--templates/partials/gallery_card.html28
1 files changed, 19 insertions, 9 deletions
diff --git a/templates/partials/gallery_card.html b/templates/partials/gallery_card.html
index e319fa4..f040952 100644
--- a/templates/partials/gallery_card.html
+++ b/templates/partials/gallery_card.html
@@ -1,4 +1,3 @@
1$if(it.url)$
2$if(it.thumbnail)$ 1$if(it.thumbnail)$
3<a 2<a
4 href="$it.url.rel$" 3 href="$it.url.rel$"
@@ -29,27 +28,39 @@ $if(it.thumbnail)$
29 <use href="$assets.icons_svg$#$it.icon$"></use> 28 <use href="$assets.icons_svg$#$it.icon$"></use>
30 </svg> 29 </svg>
31 $endif$ 30 $endif$
31 $if(it.draft)$
32 <div class="l-media__block">
33 <span class="o-badge">Draft</span>
34 </div>
35 $endif$
32 <div class="l-media__block l-media__block--main"> 36 <div class="l-media__block l-media__block--main">
33 $if(it.draft)$ 37 $if(it.subtitle)$
34 <strong class="u-d-block">$it.title$</strong> 38 <div>
35 <div><span class="o-badge">Draft</span></div> 39 <strong>$it.title$</strong>
36 $elseif(it.subtitle)$ 40 $if(it.draft)$<span class="o-badge u-ml-100">Draft</span>$endif$
37 <strong class="u-d-block">$it.title$</strong> 41 </div>
38 <small class="u-d-block">$it.subtitle$</small> 42 <small class="u-d-block">$it.subtitle$</small>
39 $elseif(it.category)$ 43 $elseif(it.category)$
40 <small class="u-d-block">$it.category$</small> 44 <small class="u-d-block">$it.category$</small>
41 <strong class="u-d-block">$it.title$</strong> 45 <div>
46 <strong>$it.title$</strong>
47 $if(it.draft)$<span class="o-badge u-ml-100">Draft</span>$endif$
48 </div>
42 $elseif(it.show_date)$ 49 $elseif(it.show_date)$
43 <small class="u-d-block"> 50 <small class="u-d-block">
44 <time datetime="$it.last_update.yyyy_mm_dd$" itemprop="dateCreated"> 51 <time datetime="$it.last_update.yyyy_mm_dd$" itemprop="dateCreated">
45 $it.last_update.long$ 52 $it.last_update.long$
46 </time> 53 </time>
47 </small> 54 </small>
48 <strong class="u-d-block">$it.title$</strong> 55 <div>
56 <strong>$it.title$</strong>
57 $if(it.draft)$<span class="o-badge u-ml-100">Draft</span>$endif$
58 </div>
49 $else$ 59 $else$
50 <span class="p-name" itemprop="name headline"> 60 <span class="p-name" itemprop="name headline">
51 $it.title$ 61 $it.title$
52 </span> 62 </span>
63 $if(it.draft)$<span class="o-badge u-ml-100">Draft</span>$endif$
53 $endif$ 64 $endif$
54 </div> 65 </div>
55 $if(it.post_icon)$ 66 $if(it.post_icon)$
@@ -60,4 +71,3 @@ $if(it.thumbnail)$
60 </div> 71 </div>
61</a> 72</a>
62$endif$ 73$endif$
63$endif$