diff options
Diffstat (limited to 'templates/partials/gallery_card.html')
-rw-r--r-- | templates/partials/gallery_card.html | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/templates/partials/gallery_card.html b/templates/partials/gallery_card.html index c0925fc..edc54b4 100644 --- a/templates/partials/gallery_card.html +++ b/templates/partials/gallery_card.html | |||
@@ -1,6 +1,9 @@ | |||
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 h-entry" itemprop="dataFeedElement" itemscope itemtype="https://schema.org/$it.schema_type$"> |
4 | <link class="u-url" itemprop="url" href="$it.url.full$" /> | ||
5 | <link itemprop="thumbnailUrl" href="$it.thumbnail.full$" /> | ||
6 | |||
4 | <div class="c-card__row l-media l-media--flush"> | 7 | <div class="c-card__row l-media l-media--flush"> |
5 | <div class="c-card__thumbnail"> | 8 | <div class="c-card__thumbnail"> |
6 | <img | 9 | <img |
@@ -22,13 +25,13 @@ $if(it.thumbnail)$ | |||
22 | $endif$ | 25 | $endif$ |
23 | <div class="l-media__block l-media__block--main"> | 26 | <div class="l-media__block l-media__block--main"> |
24 | $if(it.subtitle)$ | 27 | $if(it.subtitle)$ |
25 | <strong class="u-d-block u-elp">$it.title$</strong> | 28 | <strong class="u-d-block u-elp" itemprop="name headline">$it.title$</strong> |
26 | <small class="u-d-block u-elp">$it.subtitle$</small> | 29 | <small class="u-d-block u-elp p-name">$it.subtitle$</small> |
27 | $elseif(it.category)$ | 30 | $elseif(it.category)$ |
28 | <small class="u-d-block u-elp">$it.category$</small> | 31 | <small class="u-d-block u-elp">$it.category$</small> |
29 | <strong class="u-d-block u-elp">$it.title$</strong> | 32 | <strong class="u-d-block u-elp p-name" itemprop="name headline">$it.title$</strong> |
30 | $elseif(it.date)$ | 33 | $elseif(it.date)$ |
31 | <time datetime="$it.date.yyyy_mm_dd$"> | 34 | <time datetime="$it.date.yyyy_mm_dd$" itemprop="dateCreated"> |
32 | <small class="u-d-none@sm-hi"> | 35 | <small class="u-d-none@sm-hi"> |
33 | $it.date.short$ | 36 | $it.date.short$ |
34 | </small> | 37 | </small> |
@@ -36,9 +39,11 @@ $if(it.thumbnail)$ | |||
36 | $it.date.long$ | 39 | $it.date.long$ |
37 | </small> | 40 | </small> |
38 | </time> | 41 | </time> |
39 | <strong class="u-d-block u-elp">$it.title$</strong> | 42 | <strong class="u-d-block u-elp p-name" itemprop="name headline">$it.title$</strong> |
40 | $else$ | 43 | $else$ |
41 | $it.title$ | 44 | <span class="p-name" itemprop="name headline"> |
45 | $it.title$ | ||
46 | </span> | ||
42 | $endif$ | 47 | $endif$ |
43 | </div> | 48 | </div> |
44 | $if(it.post_icon)$ | 49 | $if(it.post_icon)$ |