From 0a84126fb07afeb64f2a206a408a3fe31a3dca62 Mon Sep 17 00:00:00 2001 From: Aroy-Art Date: Tue, 3 Jan 2023 15:29:50 +0100 Subject: [PATCH] Fix: 2 try to fix art carousel --- assets/js/script.js | 2 +- layouts/index.html | 6 +++--- layouts/partials/imageSlideShow.html | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/assets/js/script.js b/assets/js/script.js index 628e0cd..f9fb09b 100644 --- a/assets/js/script.js +++ b/assets/js/script.js @@ -148,7 +148,7 @@ jQuery(function ($) { autoplaySpeed: 1500, slidesToShow: 1, slidesToScroll: 1, - lazyLoad: 'progressive', + lazyLoad: 'progressive', /* ondemand */ centerMode: true, variableWidth: true }); diff --git a/layouts/index.html b/layouts/index.html index 53ddc4f..67a88ec 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -8,9 +8,9 @@ {{ partial "bradcrumb.html" . }} -{{ partial "slick-imageSlideShow.html"}} -{{/* -{{ partial "imageSlideShow.html" . }} */}} +{{/* {{ partial "slick-imageSlideShow.html"}} */}} + +{{ partial "imageSlideShow.html" . }} {{ partial "blog.html" . }} diff --git a/layouts/partials/imageSlideShow.html b/layouts/partials/imageSlideShow.html index 62f0a8d..ff96f9f 100644 --- a/layouts/partials/imageSlideShow.html +++ b/layouts/partials/imageSlideShow.html @@ -22,13 +22,13 @@ {{ $image_thumb := slice }} {{ range .portfolio_categories }} {{ range .portfolio_items }} - {{ $images = $images | append .image }} - {{ $image_thumb := $image_thumb | append .image_thumb }} + {{ $images = $images | append .image }} + {{ $image_thumb := $image_thumb | append .image_thumb }} {{- $original := resources.Get .image -}} {{ $thumb := $original.Resize "x320" }}
- {{ .name }} + {{ .name }}
{{ end }} {{ end }}