diff options
Diffstat (limited to 'templates/partials/grid_card.html')
| -rw-r--r-- | templates/partials/grid_card.html | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/templates/partials/grid_card.html b/templates/partials/grid_card.html index c5924e1..afbea1f 100644 --- a/templates/partials/grid_card.html +++ b/templates/partials/grid_card.html | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | $if(it.url)$ | 1 | $if(it.url)$ |
| 2 | <a href="$it.url.rel$" class="l-card-list__card c-card"> | 2 | <a href="$it.url.rel$" class="l-card-list__card c-card h-entry" itemprop="dataFeedElement" itemscope itemtype="https://schema.org/$it.schema_type$"> |
| 3 | <link class="u-url" itemprop="url" href="$it.url.full$" /> | ||
| 4 | |||
| 3 | <div class="c-card__row l-media"> | 5 | <div class="c-card__row l-media"> |
| 4 | $if(it.indicator)$ | 6 | $if(it.indicator)$ |
| 5 | <div class="c-card__indicator l-media__block"></div> | 7 | <div class="c-card__indicator l-media__block"></div> |
| @@ -11,13 +13,13 @@ $if(it.url)$ | |||
| 11 | $endif$ | 13 | $endif$ |
| 12 | <div class="l-media__block l-media__block--main"> | 14 | <div class="l-media__block l-media__block--main"> |
| 13 | $if(it.subtitle)$ | 15 | $if(it.subtitle)$ |
| 14 | <strong class="u-d-block u-elp">$it.title$</strong> | 16 | <strong class="u-d-block u-elp p-name" itemprop="name headline">$it.title$</strong> |
| 15 | <small class="u-d-block u-elp">$it.subtitle$</small> | 17 | <small class="u-d-block u-elp">$it.subtitle$</small> |
| 16 | $elseif(it.category)$ | 18 | $elseif(it.category)$ |
| 17 | <small class="u-d-block u-elp">$it.category$</small> | 19 | <small class="u-d-block u-elp">$it.category$</small> |
| 18 | <strong class="u-d-block u-elp">$it.title$</strong> | 20 | <strong class="u-d-block u-elp p-name" itemprop="name headline">$it.title$</strong> |
| 19 | $elseif(it.date)$ | 21 | $elseif(it.date)$ |
| 20 | <time datetime="$it.date.yyyy_mm_dd$"> | 22 | <time datetime="$it.date.yyyy_mm_dd$" itemprop="dateCreated"> |
| 21 | <small class="u-d-none@sm-hi"> | 23 | <small class="u-d-none@sm-hi"> |
| 22 | $it.date.short$ | 24 | $it.date.short$ |
| 23 | </small> | 25 | </small> |
| @@ -25,9 +27,11 @@ $if(it.url)$ | |||
| 25 | $it.date.long$ | 27 | $it.date.long$ |
| 26 | </small> | 28 | </small> |
| 27 | </time> | 29 | </time> |
| 28 | <strong class="u-d-block u-elp">$it.title$</strong> | 30 | <strong class="u-d-block u-elp p-name" itemprop="name headline">$it.title$</strong> |
| 29 | $else$ | 31 | $else$ |
| 30 | $it.title$ | 32 | <span class="p-name" itemprop="name headline"> |
| 33 | $it.title$ | ||
| 34 | </span> | ||
| 31 | $endif$ | 35 | $endif$ |
| 32 | </div> | 36 | </div> |
| 33 | $if(it.post_icon)$ | 37 | $if(it.post_icon)$ |
