From c9bd6518ccdc1d881b84c31a40d40dbca9dde03e Mon Sep 17 00:00:00 2001 From: Pierre-Olivier Mercier Date: Thu, 18 Jun 2026 17:49:10 +0900 Subject: [PATCH] Add left/right navigation arrows to screenshots carousel --- layouts/partials/carousel.html | 122 ++++++++++++++++++++++++++------- 1 file changed, 96 insertions(+), 26 deletions(-) diff --git a/layouts/partials/carousel.html b/layouts/partials/carousel.html index 874b0d2..f03f5a4 100644 --- a/layouts/partials/carousel.html +++ b/layouts/partials/carousel.html @@ -1,28 +1,98 @@ {{ if isset .Site.Params "carousel" }} {{ if gt (len .Site.Params.carousel) 0 }} -
- {{ range sort .Site.Params.carousel "weight" }} -
- - {{ .title }} - -
- {{ .description | markdownify }} -
-
- {{ end }} -
+ + + + + {{ end }} {{ end }}