summaryrefslogtreecommitdiffstats
path: root/templates/partials/related.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/partials/related.html')
-rw-r--r--templates/partials/related.html24
1 files changed, 20 insertions, 4 deletions
diff --git a/templates/partials/related.html b/templates/partials/related.html
index b6e2169..4c8384a 100644
--- a/templates/partials/related.html
+++ b/templates/partials/related.html
@@ -14,11 +14,27 @@ $if(related)$
14 </header> 14 </header>
15 <div class="l-card-list__cards l-card-list__cards--$related.layout.id$"> 15 <div class="l-card-list__cards l-card-list__cards--$related.layout.id$">
16 $if(related.layout.is_grid-2)$ 16 $if(related.layout.is_grid-2)$
17 $related.prev:partials/grid_card()$ 17 $if(related.prev)$
18 $related.next:partials/grid_card()$ 18 $related.prev:partials/grid_card()$
19 $else$
20 <div class="l-card-list__card c-card c-card--outline"></div>
21 $endif$
22 $if(related.next)$
23 $related.next:partials/grid_card()$
24 $else$
25 <div class="l-card-list__card c-card c-card--outline"></div>
26 $endif$
19 $else$ 27 $else$
20 $related.prev:partials/gallery_card()$ 28 $if(related.prev)$
21 $related.next:partials/gallery_card()$ 29 $related.prev:partials/gallery_card()$
30 $else$
31 <div class="l-card-list__card c-card c-card--outline"></div>
32 $endif$
33 $if(related.next)$
34 $related.next:partials/gallery_card()$
35 $else$
36 <div class="l-card-list__card c-card c-card--outline"></div>
37 $endif$
22 $endif$ 38 $endif$
23 </div> 39 </div>
24 </div> 40 </div>