diff options
Diffstat (limited to 'templates/partials/gallery_card.html')
-rw-r--r-- | templates/partials/gallery_card.html | 84 |
1 files changed, 42 insertions, 42 deletions
diff --git a/templates/partials/gallery_card.html b/templates/partials/gallery_card.html index 485af00..a2dbe5f 100644 --- a/templates/partials/gallery_card.html +++ b/templates/partials/gallery_card.html | |||
@@ -1,47 +1,47 @@ | |||
1 | $if(it.url)$ | 1 | $if(it.url)$ |
2 | $if(it.thumbnail)$ | 2 | $if(it.thumbnail)$ |
3 | <a href="$it.url.rel$" class="l-card-list__card c-card"> | 3 | <a href="$it.url.rel$" class="l-card-list__card c-card"> |
4 | <div class="c-card__row c-card__row--flush"> | 4 | <div class="c-card__row c-card__row--flush"> |
5 | <div class="c-card__thumbnail"> | 5 | <div class="c-card__thumbnail"> |
6 | <img class="c-card__thumbnail-img" src="$it.thumbnail.rel$" /> | 6 | <img class="c-card__thumbnail-img" src="$it.thumbnail.rel$" /> |
7 | </div> | ||
8 | </div> | 7 | </div> |
9 | <div class="c-card__row c-card__row--hidden"> | 8 | </div> |
10 | $if(it.indicator)$ | 9 | <div class="c-card__row c-card__row--hidden"> |
11 | <div class="c-card__block c-card__block--indicator"></div> | 10 | $if(it.indicator)$ |
12 | $endif$ | 11 | <div class="c-card__block c-card__block--indicator"></div> |
13 | $if(it.icon)$ | 12 | $endif$ |
14 | <svg class="c-card__block o-icon" width="1em" height="1em"> | 13 | $if(it.icon)$ |
15 | <use href="/symbols.svg#icon-$it.icon$"></use> | 14 | <svg class="c-card__block o-icon" width="1em" height="1em"> |
16 | </svg> | 15 | <use href="/symbols.svg#icon-$it.icon$"></use> |
17 | $endif$ | 16 | </svg> |
18 | <div class="c-card__block c-card__block--main"> | 17 | $endif$ |
19 | $if(it.subtitle)$ | 18 | <div class="c-card__block c-card__block--main"> |
20 | <strong class="u-db u-elp">$it.title$</strong> | 19 | $if(it.subtitle)$ |
21 | <small class="u-db u-elp">$it.subtitle$</small> | 20 | <strong class="u-db u-elp">$it.title$</strong> |
22 | $elseif(it.category)$ | 21 | <small class="u-db u-elp">$it.subtitle$</small> |
23 | <small class="u-db u-elp">$it.category$</small> | 22 | $elseif(it.category)$ |
24 | <strong class="u-db u-elp">$it.title$</strong> | 23 | <small class="u-db u-elp">$it.category$</small> |
25 | $elseif(it.date)$ | 24 | <strong class="u-db u-elp">$it.title$</strong> |
26 | <time datetime="$it.date.yyyy_mm_dd$"> | 25 | $elseif(it.date)$ |
27 | <small class="u-dn@sm-hi"> | 26 | <time datetime="$it.date.yyyy_mm_dd$"> |
28 | $it.date.short$ | 27 | <small class="u-dn@sm-hi"> |
29 | </small> | 28 | $it.date.short$ |
30 | <small class="u-dn@sm-lo"> | 29 | </small> |
31 | $it.date.long$ | 30 | <small class="u-dn@sm-lo"> |
32 | </small> | 31 | $it.date.long$ |
33 | </time> | 32 | </small> |
34 | <strong class="u-db u-elp">$it.title$</strong> | 33 | </time> |
35 | $else$ | 34 | <strong class="u-db u-elp">$it.title$</strong> |
36 | $it.title$ | 35 | $else$ |
37 | $endif$ | 36 | $it.title$ |
38 | </div> | ||
39 | $if(it.post_icon)$ | ||
40 | <svg class="c-card__block o-icon" width="1em" height="1em"> | ||
41 | <use href="/symbols.svg#icon-$it.post_icon$"></use> | ||
42 | </svg> | ||
43 | $endif$ | 37 | $endif$ |
44 | </div> | 38 | </div> |
45 | </a> | 39 | $if(it.post_icon)$ |
46 | $endif$ | 40 | <svg class="c-card__block o-icon" width="1em" height="1em"> |
41 | <use href="/symbols.svg#icon-$it.post_icon$"></use> | ||
42 | </svg> | ||
43 | $endif$ | ||
44 | </div> | ||
45 | </a> | ||
46 | $endif$ | ||
47 | $endif$ | 47 | $endif$ |