diff options
Diffstat (limited to 'templates/partials')
-rw-r--r-- | templates/partials/gallery_card.html | 19 | ||||
-rw-r--r-- | templates/partials/grid_card.html | 16 | ||||
-rw-r--r-- | templates/partials/list_card.html | 8 |
3 files changed, 27 insertions, 16 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)$ |
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)$ |
diff --git a/templates/partials/list_card.html b/templates/partials/list_card.html index 438659c..3f2b956 100644 --- a/templates/partials/list_card.html +++ b/templates/partials/list_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> |
@@ -9,7 +11,7 @@ $if(it.url)$ | |||
9 | <use href="/icons.svg#$it.icon$"></use> | 11 | <use href="/icons.svg#$it.icon$"></use> |
10 | </svg> | 12 | </svg> |
11 | $endif$ | 13 | $endif$ |
12 | <div class="l-media__block l-media__block--main"> | 14 | <div class="l-media__block l-media__block--main p-name" itemprop="name headline"> |
13 | $it.title$ | 15 | $it.title$ |
14 | </div> | 16 | </div> |
15 | $if(it.subtitle)$ | 17 | $if(it.subtitle)$ |
@@ -25,7 +27,7 @@ $if(it.url)$ | |||
25 | </small> | 27 | </small> |
26 | </div> | 28 | </div> |
27 | $elseif(it.date)$ | 29 | $elseif(it.date)$ |
28 | <time datetime="$it.date.yyyy_mm_dd$" class="l-media__block u-fs0"> | 30 | <time datetime="$it.date.yyyy_mm_dd$" class="l-media__block u-fs0" itemprop="dateCreated"> |
29 | <small class="u-d-none@sm-hi"> | 31 | <small class="u-d-none@sm-hi"> |
30 | $it.date.short$ | 32 | $it.date.short$ |
31 | </small> | 33 | </small> |