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.html7
1 files changed, 5 insertions, 2 deletions
diff --git a/templates/partials/grid_card.html b/templates/partials/grid_card.html
index abcd923..8b65320 100644
--- a/templates/partials/grid_card.html
+++ b/templates/partials/grid_card.html
@@ -17,13 +17,16 @@ $if(it.url)$
17 </svg> 17 </svg>
18 $endif$ 18 $endif$
19 <div class="l-media__block l-media__block--main"> 19 <div class="l-media__block l-media__block--main">
20 $if(it.subtitle)$ 20 $if(it.draft)$
21 <strong class="u-d-block">$it.title$</strong>
22 <div><span class="o-badge">Draft</span></div>
23 $elseif(it.subtitle)$
21 <strong class="u-d-block">$it.title$</strong> 24 <strong class="u-d-block">$it.title$</strong>
22 <small class="u-d-block">$it.subtitle$</small> 25 <small class="u-d-block">$it.subtitle$</small>
23 $elseif(it.category)$ 26 $elseif(it.category)$
24 <small class="u-d-block">$it.category$</small> 27 <small class="u-d-block">$it.category$</small>
25 <strong class="u-d-block">$it.title$</strong> 28 <strong class="u-d-block">$it.title$</strong>
26 $elseif(it.last_update)$ 29 $elseif(it.show_date)$
27 <small class="u-d-block"> 30 <small class="u-d-block">
28 <time datetime="$it.last_update.yyyy_mm_dd$" itemprop="dateCreated"> 31 <time datetime="$it.last_update.yyyy_mm_dd$" itemprop="dateCreated">
29 $it.last_update.long$ 32 $it.last_update.long$