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.html40
1 files changed, 30 insertions, 10 deletions
diff --git a/templates/partials/grid_card.html b/templates/partials/grid_card.html
index 170f478..9a0b06e 100644
--- a/templates/partials/grid_card.html
+++ b/templates/partials/grid_card.html
@@ -4,7 +4,9 @@
4 itemprop="dataFeedElement" 4 itemprop="dataFeedElement"
5 itemscope 5 itemscope
6 itemtype="https://schema.org/$it.schema_type$" 6 itemtype="https://schema.org/$it.schema_type$"
7 $if(it.rel)$rel="$it.rel$"$endif$ 7 $if(it.rel)$
8 rel="$it.rel$"
9 $endif$
8> 10>
9 <div class="c-card__row l-media"> 11 <div class="c-card__row l-media">
10 $if(it.indicator)$ 12 $if(it.indicator)$
@@ -18,15 +20,27 @@
18 <div class="l-media__block l-media__block--main"> 20 <div class="l-media__block l-media__block--main">
19 $if(it.subtitle)$ 21 $if(it.subtitle)$
20 <div> 22 <div>
21 <strong class="p-name" itemprop="name headline">$it.title$</strong> 23 <strong class="p-name" itemprop="name headline">
22 $if(it.draft)$<span class="o-badge u-ml-100">Draft</span>$endif$ 24 $it.title$
25 </strong>
26 $if(it.draft)$
27 <span class="o-badge u-ml-100">Draft</span>
28 $endif$
23 </div> 29 </div>
24 <small class="u-d-block">$it.subtitle$</small> 30 <small class="u-d-block">
31 $it.subtitle$
32 </small>
25 $elseif(it.category)$ 33 $elseif(it.category)$
26 <small class="u-d-block">$it.category$</small> 34 <small class="u-d-block">
35 $it.category$
36 </small>
27 <div> 37 <div>
28 <strong class="p-name" itemprop="name headline">$it.title$</strong> 38 <strong class="p-name" itemprop="name headline">
29 $if(it.draft)$<span class="o-badge u-ml-100">Draft</span>$endif$ 39 $it.title$
40 </strong>
41 $if(it.draft)$
42 <span class="o-badge u-ml-100">Draft</span>
43 $endif$
30 </div> 44 </div>
31 $elseif(it.show_date)$ 45 $elseif(it.show_date)$
32 <small class="u-d-block"> 46 <small class="u-d-block">
@@ -35,14 +49,20 @@
35 </time> 49 </time>
36 </small> 50 </small>
37 <div> 51 <div>
38 <strong class="p-name" itemprop="name headline">$it.title$</strong> 52 <strong class="p-name" itemprop="name headline">
39 $if(it.draft)$<span class="o-badge u-ml-100">Draft</span>$endif$ 53 $it.title$
54 </strong>
55 $if(it.draft)$
56 <span class="o-badge u-ml-100">Draft</span>
57 $endif$
40 </div> 58 </div>
41 $else$ 59 $else$
42 <span class="p-name" itemprop="name headline"> 60 <span class="p-name" itemprop="name headline">
43 $it.title$ 61 $it.title$
44 </span> 62 </span>
45 $if(it.draft)$<span class="o-badge u-ml-100">Draft</span>$endif$ 63 $if(it.draft)$
64 <span class="o-badge u-ml-100">Draft</span>
65 $endif$
46 $endif$ 66 $endif$
47 </div> 67 </div>
48 $if(it.post_icon)$ 68 $if(it.post_icon)$