diff options
Diffstat (limited to 'templates/partials/list_card.html')
| -rw-r--r-- | templates/partials/list_card.html | 48 |
1 files changed, 15 insertions, 33 deletions
diff --git a/templates/partials/list_card.html b/templates/partials/list_card.html index 24948a6..e12f62f 100644 --- a/templates/partials/list_card.html +++ b/templates/partials/list_card.html | |||
| @@ -4,7 +4,9 @@ | |||
| 4 | itemprop="dataFeedElement" | 4 | itemprop="dataFeedElement" |
| 5 | itemscope | 5 | itemscope |
| 6 | itemtype="https://schema.org/$it.schema_type$" | 6 | itemtype="https://schema.org/$it.schema_type$" |
| 7 | $if(it.rel)$rel="$it.rel$"$endif$ | 7 | $if(it.rel)$ |
| 8 | rel="$it.rel$" | ||
| 9 | $endif$ | ||
| 8 | > | 10 | > |
| 9 | <div class="c-card__row l-media"> | 11 | <div class="c-card__row l-media"> |
| 10 | $if(it.indicator)$ | 12 | $if(it.indicator)$ |
| @@ -15,42 +17,22 @@ | |||
| 15 | <use href="$assets.icons_svg$#$it.icon$"></use> | 17 | <use href="$assets.icons_svg$#$it.icon$"></use> |
| 16 | </svg> | 18 | </svg> |
| 17 | $endif$ | 19 | $endif$ |
| 18 | <div class="l-media__block l-media__block--main u-d-none@sm-hi"> | 20 | <div class="l-media__block l-media__block--main"> |
| 19 | $if(it.subtitle)$ | 21 | <span class="p-name" itemprop="name headline"> |
| 20 | <small class="u-d-block">$it.subtitle$</small> | 22 | $it.title$ |
| 21 | <div> | 23 | </span> |
| 22 | <strong>$it.title$</strong> | 24 | $if(it.draft)$ |
| 23 | $if(it.draft)$<span class="o-badge u-ml-100">Draft</span>$endif$ | 25 | <span class="o-badge u-ml-100">Draft</span> |
| 24 | </div> | ||
| 25 | $elseif(it.category)$ | ||
| 26 | <small class="u-d-block">$it.category$</small> | ||
| 27 | <div> | ||
| 28 | <strong>$it.title$</strong> | ||
| 29 | $if(it.draft)$<span class="o-badge u-ml-100">Draft</span>$endif$ | ||
| 30 | </div> | ||
| 31 | $elseif(it.last_update)$ | ||
| 32 | <small> | ||
| 33 | <time datetime="$it.last_update.yyyy_mm_dd$">$it.last_update.long$</time> | ||
| 34 | </small> | ||
| 35 | <div> | ||
| 36 | <strong>$it.title$</strong> | ||
| 37 | $if(it.draft)$<span class="o-badge u-ml-100">Draft</span>$endif$ | ||
| 38 | </div> | ||
| 39 | $else$ | ||
| 40 | <span> | ||
| 41 | $it.title$ | ||
| 42 | </span> | ||
| 43 | $if(it.draft)$<span class="o-badge u-ml-100">Draft</span>$endif$ | ||
| 44 | $endif$ | 26 | $endif$ |
| 45 | </div> | ||
| 46 | <div class="l-media__block l-media__block--main u-d-none@sm-lo"> | ||
| 47 | <span class="p-name" itemprop="name headline">$it.title$</span> | ||
| 48 | $if(it.draft)$<span class="o-badge u-ml-100">Draft</span>$endif$ | ||
| 49 | </div> | 27 | </div> |
| 50 | $if(it.subtitle)$ | 28 | $if(it.subtitle)$ |
| 51 | <small class="l-media__block u-d-none@sm-lo">$it.subtitle$</small> | 29 | <small class="l-media__block u-d-none@sm-lo"> |
| 30 | $it.subtitle$ | ||
| 31 | </small> | ||
| 52 | $elseif(it.category)$ | 32 | $elseif(it.category)$ |
| 53 | <small class="l-media__block u-d-none@sm-lo">$it.category$</small> | 33 | <small class="l-media__block u-d-none@sm-lo"> |
| 34 | $it.category$ | ||
| 35 | </small> | ||
| 54 | $elseif(it.show_date)$ | 36 | $elseif(it.show_date)$ |
| 55 | <small class="l-media__block u-d-none@sm-lo"> | 37 | <small class="l-media__block u-d-none@sm-lo"> |
| 56 | <time datetime="$it.last_update.yyyy_mm_dd$" class="dt-updated" itemprop="dateModified"> | 38 | <time datetime="$it.last_update.yyyy_mm_dd$" class="dt-updated" itemprop="dateModified"> |
