summaryrefslogtreecommitdiffstats
path: root/templates/partials/grid_card.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/partials/grid_card.html')
-rw-r--r--templates/partials/grid_card.html23
1 files changed, 14 insertions, 9 deletions
diff --git a/templates/partials/grid_card.html b/templates/partials/grid_card.html
index 8b65320..ab6dbbc 100644
--- a/templates/partials/grid_card.html
+++ b/templates/partials/grid_card.html
@@ -1,4 +1,3 @@
1$if(it.url)$
2<a 1<a
3 href="$it.url.rel$" 2 href="$it.url.rel$"
4 class="l-card-list__card c-card h-entry" 3 class="l-card-list__card c-card h-entry"
@@ -17,26 +16,33 @@ $if(it.url)$
17 </svg> 16 </svg>
18 $endif$ 17 $endif$
19 <div class="l-media__block l-media__block--main"> 18 <div class="l-media__block l-media__block--main">
20 $if(it.draft)$ 19 $if(it.subtitle)$
21 <strong class="u-d-block">$it.title$</strong> 20 <div>
22 <div><span class="o-badge">Draft</span></div> 21 <strong>$it.title$</strong>
23 $elseif(it.subtitle)$ 22 $if(it.draft)$<span class="o-badge u-ml-100">Draft</span>$endif$
24 <strong class="u-d-block">$it.title$</strong> 23 </div>
25 <small class="u-d-block">$it.subtitle$</small> 24 <small class="u-d-block">$it.subtitle$</small>
26 $elseif(it.category)$ 25 $elseif(it.category)$
27 <small class="u-d-block">$it.category$</small> 26 <small class="u-d-block">$it.category$</small>
28 <strong class="u-d-block">$it.title$</strong> 27 <div>
28 <strong>$it.title$</strong>
29 $if(it.draft)$<span class="o-badge u-ml-100">Draft</span>$endif$
30 </div>
29 $elseif(it.show_date)$ 31 $elseif(it.show_date)$
30 <small class="u-d-block"> 32 <small class="u-d-block">
31 <time datetime="$it.last_update.yyyy_mm_dd$" itemprop="dateCreated"> 33 <time datetime="$it.last_update.yyyy_mm_dd$" itemprop="dateCreated">
32 $it.last_update.long$ 34 $it.last_update.long$
33 </time> 35 </time>
34 </small> 36 </small>
35 <strong class="u-d-block">$it.title$</strong> 37 <div>
38 <strong>$it.title$</strong>
39 $if(it.draft)$<span class="o-badge u-ml-100">Draft</span>$endif$
40 </div>
36 $else$ 41 $else$
37 <span class="p-name" itemprop="name headline"> 42 <span class="p-name" itemprop="name headline">
38 $it.title$ 43 $it.title$
39 </span> 44 </span>
45 $if(it.draft)$<span class="o-badge u-ml-100">Draft</span>$endif$
40 $endif$ 46 $endif$
41 </div> 47 </div>
42 $if(it.post_icon)$ 48 $if(it.post_icon)$
@@ -46,4 +52,3 @@ $if(it.url)$
46 $endif$ 52 $endif$
47 </div> 53 </div>
48</a> 54</a>
49$endif$