diff options
author | Volpeon <git@volpeon.ink> | 2022-06-16 13:42:26 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2022-06-16 13:42:26 +0200 |
commit | aa4c54317b51dc14ba65d2e091b701ae6640ee80 (patch) | |
tree | 1b78a533299bc1d39e4c2eef611396a241e685c7 /templates/partials/list_card.html | |
parent | Update (diff) | |
download | volpeon.ink-aa4c54317b51dc14ba65d2e091b701ae6640ee80.tar.gz volpeon.ink-aa4c54317b51dc14ba65d2e091b701ae6640ee80.tar.bz2 volpeon.ink-aa4c54317b51dc14ba65d2e091b701ae6640ee80.zip |
WIP: Adding metadata
Diffstat (limited to 'templates/partials/list_card.html')
-rw-r--r-- | templates/partials/list_card.html | 8 |
1 files changed, 5 insertions, 3 deletions
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> |