From 26c099aa807d8e67944f72be04a325f37da305d5 Mon Sep 17 00:00:00 2001 From: Volpeon <git@volpeon.ink> Date: Sat, 18 Jun 2022 00:04:21 +0200 Subject: Added page type for art pieces --- templates/partials/gallery_card.html | 8 ++++---- templates/partials/grid_card.html | 8 ++++---- templates/partials/list_card.html | 12 +++++++----- 3 files changed, 15 insertions(+), 13 deletions(-) (limited to 'templates/partials') diff --git a/templates/partials/gallery_card.html b/templates/partials/gallery_card.html index deffb3f..6692888 100644 --- a/templates/partials/gallery_card.html +++ b/templates/partials/gallery_card.html @@ -37,11 +37,11 @@ $if(it.thumbnail)$ <small class="u-d-block u-elp">$it.category$</small> <strong class="u-d-block u-elp">$it.title$</strong> $elseif(it.date)$ - <time datetime="$it.date.yyyy_mm_dd$" itemprop="dateCreated"> - <small> + <small class="u-d-block"> + <time datetime="$it.date.yyyy_mm_dd$" itemprop="dateCreated"> $it.date.long$ - </small> - </time> + </time> + </small> <strong class="u-d-block u-elp">$it.title$</strong> $else$ <span class="p-name" itemprop="name headline"> diff --git a/templates/partials/grid_card.html b/templates/partials/grid_card.html index 9af9415..003e59f 100644 --- a/templates/partials/grid_card.html +++ b/templates/partials/grid_card.html @@ -24,11 +24,11 @@ $if(it.url)$ <small class="u-d-block u-elp">$it.category$</small> <strong class="u-d-block u-elp">$it.title$</strong> $elseif(it.date)$ - <time datetime="$it.date.yyyy_mm_dd$" itemprop="dateCreated"> - <small> + <small class="u-d-block"> + <time datetime="$it.date.yyyy_mm_dd$" itemprop="dateCreated"> $it.date.long$ - </small> - </time> + </time> + </small> <strong class="u-d-block u-elp">$it.title$</strong> $else$ <span class="p-name" itemprop="name headline"> diff --git a/templates/partials/list_card.html b/templates/partials/list_card.html index 6cf0e67..dc9111e 100644 --- a/templates/partials/list_card.html +++ b/templates/partials/list_card.html @@ -24,7 +24,9 @@ $if(it.url)$ <small class="u-d-block">$it.category$</small> <strong class="u-d-block">$it.title$</strong> $elseif(it.date)$ - <time datetime="$it.date.yyyy_mm_dd$" class="u-d-block"><small>$it.date.long$</small></time> + <small> + <time datetime="$it.date.yyyy_mm_dd$">$it.date.long$</time> + </small> <strong class="u-d-block">$it.title$</strong> $else$ <span class="p-name" itemprop="name headline"> @@ -44,11 +46,11 @@ $if(it.url)$ $it.category$ </small> $elseif(it.date)$ - <time datetime="$it.date.yyyy_mm_dd$" class="l-media__block u-d-none@sm-lo" itemprop="dateCreated"> - <small> + <small class="l-media__block u-d-none@sm-lo"> + <time datetime="$it.date.yyyy_mm_dd$" itemprop="dateCreated"> $it.date.short$ - </small> - </time> + </time> + </small> $endif$ $if(it.post_icon)$ <svg class="l-media__block o-icon" width="1em" height="1em" aria-hidden="true"> -- cgit v1.2.3-70-g09d2