diff options
Diffstat (limited to 'templates/partials/grid_card.html')
-rw-r--r-- | templates/partials/grid_card.html | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/templates/partials/grid_card.html b/templates/partials/grid_card.html index c8c110c..9af9415 100644 --- a/templates/partials/grid_card.html +++ b/templates/partials/grid_card.html | |||
@@ -18,21 +18,18 @@ $if(it.url)$ | |||
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.subtitle)$ |
21 | <strong class="u-d-block u-elp p-name" itemprop="name headline">$it.title$</strong> | 21 | <strong class="u-d-block u-elp">$it.title$</strong> |
22 | <small class="u-d-block u-elp">$it.subtitle$</small> | 22 | <small class="u-d-block u-elp">$it.subtitle$</small> |
23 | $elseif(it.category)$ | 23 | $elseif(it.category)$ |
24 | <small class="u-d-block u-elp">$it.category$</small> | 24 | <small class="u-d-block u-elp">$it.category$</small> |
25 | <strong class="u-d-block u-elp p-name" itemprop="name headline">$it.title$</strong> | 25 | <strong class="u-d-block u-elp">$it.title$</strong> |
26 | $elseif(it.date)$ | 26 | $elseif(it.date)$ |
27 | <time datetime="$it.date.yyyy_mm_dd$" itemprop="dateCreated"> | 27 | <time datetime="$it.date.yyyy_mm_dd$" itemprop="dateCreated"> |
28 | <small class="u-d-none@sm-hi"> | 28 | <small> |
29 | $it.date.short$ | ||
30 | </small> | ||
31 | <small class="u-d-none@sm-lo"> | ||
32 | $it.date.long$ | 29 | $it.date.long$ |
33 | </small> | 30 | </small> |
34 | </time> | 31 | </time> |
35 | <strong class="u-d-block u-elp p-name" itemprop="name headline">$it.title$</strong> | 32 | <strong class="u-d-block u-elp">$it.title$</strong> |
36 | $else$ | 33 | $else$ |
37 | <span class="p-name" itemprop="name headline"> | 34 | <span class="p-name" itemprop="name headline"> |
38 | $it.title$ | 35 | $it.title$ |