summaryrefslogtreecommitdiffstats
path: root/templates/partials/related.html
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2022-08-23 14:07:20 +0200
committerVolpeon <git@volpeon.ink>2022-08-23 14:07:20 +0200
commit7c655a95058aa753355251eb78b83d31d44972ab (patch)
tree9024a3d991727d1f10f99d62497bdd5228e01640 /templates/partials/related.html
parentUpdate (diff)
downloadvolpeon.ink-7c655a95058aa753355251eb78b83d31d44972ab.tar.gz
volpeon.ink-7c655a95058aa753355251eb78b83d31d44972ab.tar.bz2
volpeon.ink-7c655a95058aa753355251eb78b83d31d44972ab.zip
Better navigation of related content
Diffstat (limited to 'templates/partials/related.html')
-rw-r--r--templates/partials/related.html17
1 files changed, 1 insertions, 16 deletions
diff --git a/templates/partials/related.html b/templates/partials/related.html
index 7d29c7a..3097866 100644
--- a/templates/partials/related.html
+++ b/templates/partials/related.html
@@ -16,24 +16,9 @@ $if(related)$
16 $if(related.layout.is_grid-2)$ 16 $if(related.layout.is_grid-2)$
17 $related.prev:partials/grid_card()$ 17 $related.prev:partials/grid_card()$
18 $related.next:partials/grid_card()$ 18 $related.next:partials/grid_card()$
19 $elseif(related.layout.is_grid-3)$ 19 $else$
20 $related.prev:partials/grid_card()$
21 $related.next:partials/grid_card()$
22 $elseif(related.layout.is_gallery-2)$
23 $related.prev:partials/gallery_card()$
24 $related.next:partials/gallery_card()$
25 $elseif(related.layout.is_gallery-3)$
26 $related.prev:partials/gallery_card()$ 20 $related.prev:partials/gallery_card()$
27 $related.next:partials/gallery_card()$ 21 $related.next:partials/gallery_card()$
28 $else$
29 <div class="u-d-contents u-d-none@sm-lo">
30 $related.prev:partials/list_card()$
31 $related.next:partials/list_card()$
32 </div>
33 <div class="u-d-contents u-d-none@sm-hi">
34 $related.prev:partials/grid_card()$
35 $related.next:partials/grid_card()$
36 </div>
37 $endif$ 22 $endif$
38 </div> 23 </div>
39 </div> 24 </div>