From 4d0d7a44ab3b208c24cd821087736a565dd7dfa5 Mon Sep 17 00:00:00 2001 From: jordi fita mas Date: Thu, 11 Jan 2024 21:04:32 +0100 Subject: [PATCH] Add slides to show parameter to carouselInit template MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Customer wants four slides in home’s carousel, while keeping three in the rest of the carousels. In mobile screen, Oriol told me to always have a single slide, but in tablet it is the given number minus one. --- web/templates/public/campsite/type.gohtml | 2 +- web/templates/public/home.gohtml | 2 +- web/templates/public/layout.gohtml | 4 ++-- web/templates/public/services.gohtml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/web/templates/public/campsite/type.gohtml b/web/templates/public/campsite/type.gohtml index 3466ca3..cb32b4d 100644 --- a/web/templates/public/campsite/type.gohtml +++ b/web/templates/public/campsite/type.gohtml @@ -120,7 +120,7 @@ - {{ template "carouselInit" }} + {{ template "carouselInit" 3 }}