From 7c655a95058aa753355251eb78b83d31d44972ab Mon Sep 17 00:00:00 2001 From: Volpeon Date: Tue, 23 Aug 2022 14:07:20 +0200 Subject: Better navigation of related content --- templates/partials/grid_card.html | 76 ++++++++++++++++++++------------------- 1 file changed, 40 insertions(+), 36 deletions(-) (limited to 'templates/partials/grid_card.html') diff --git a/templates/partials/grid_card.html b/templates/partials/grid_card.html index 9a0b06e..e75fa51 100644 --- a/templates/partials/grid_card.html +++ b/templates/partials/grid_card.html @@ -9,38 +9,45 @@ $endif$ >
- $if(it.indicator)$ -
- $endif$ - $if(it.icon)$ + $if(it.is_prev)$ + + $elseif(it.is_next)$ + + $elseif(it.icon)$ + $elseif(it.indicator)$ +
$endif$
- $if(it.subtitle)$ + $if(it.is_prev)$ + Previous
- - $it.title$ - - $if(it.draft)$ - Draft - $endif$ + $it.title$ + $if(it.draft)$Draft$endif$
- - $it.subtitle$ - + $elseif(it.is_next)$ + Next +
+ $it.title$ + $if(it.draft)$Draft$endif$ +
+ $elseif(it.subtitle)$ +
+ $it.title$ + $if(it.draft)$Draft$endif$ +
+ $it.subtitle$ $elseif(it.category)$ - - $it.category$ - + $it.category$
- - $it.title$ - - $if(it.draft)$ - Draft - $endif$ + $it.title$ + $if(it.draft)$Draft$endif$
$elseif(it.show_date)$ @@ -49,23 +56,20 @@
- - $it.title$ - - $if(it.draft)$ - Draft - $endif$ + $it.title$ + $if(it.draft)$Draft$endif$
$else$ - - $it.title$ - - $if(it.draft)$ - Draft - $endif$ + $it.title$ + $if(it.draft)$Draft$endif$ $endif$
- $if(it.post_icon)$ + $if(it.is_next)$ + + $elseif(it.is_prev)$ + $elseif(it.post_icon)$ -- cgit v1.2.3-70-g09d2