diff options
Diffstat (limited to 'templates/partials/gallery_card.html')
-rw-r--r-- | templates/partials/gallery_card.html | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/templates/partials/gallery_card.html b/templates/partials/gallery_card.html index 4fe40a7..deffb3f 100644 --- a/templates/partials/gallery_card.html +++ b/templates/partials/gallery_card.html | |||
@@ -31,21 +31,18 @@ $if(it.thumbnail)$ | |||
31 | $endif$ | 31 | $endif$ |
32 | <div class="l-media__block l-media__block--main"> | 32 | <div class="l-media__block l-media__block--main"> |
33 | $if(it.subtitle)$ | 33 | $if(it.subtitle)$ |
34 | <strong class="u-d-block u-elp" itemprop="name headline">$it.title$</strong> | 34 | <strong class="u-d-block u-elp">$it.title$</strong> |
35 | <small class="u-d-block u-elp p-name">$it.subtitle$</small> | 35 | <small class="u-d-block u-elp">$it.subtitle$</small> |
36 | $elseif(it.category)$ | 36 | $elseif(it.category)$ |
37 | <small class="u-d-block u-elp">$it.category$</small> | 37 | <small class="u-d-block u-elp">$it.category$</small> |
38 | <strong class="u-d-block u-elp p-name" itemprop="name headline">$it.title$</strong> | 38 | <strong class="u-d-block u-elp">$it.title$</strong> |
39 | $elseif(it.date)$ | 39 | $elseif(it.date)$ |
40 | <time datetime="$it.date.yyyy_mm_dd$" itemprop="dateCreated"> | 40 | <time datetime="$it.date.yyyy_mm_dd$" itemprop="dateCreated"> |
41 | <small class="u-d-none@sm-hi"> | 41 | <small> |
42 | $it.date.short$ | ||
43 | </small> | ||
44 | <small class="u-d-none@sm-lo"> | ||
45 | $it.date.long$ | 42 | $it.date.long$ |
46 | </small> | 43 | </small> |
47 | </time> | 44 | </time> |
48 | <strong class="u-d-block u-elp p-name" itemprop="name headline">$it.title$</strong> | 45 | <strong class="u-d-block u-elp">$it.title$</strong> |
49 | $else$ | 46 | $else$ |
50 | <span class="p-name" itemprop="name headline"> | 47 | <span class="p-name" itemprop="name headline"> |
51 | $it.title$ | 48 | $it.title$ |