From 511834d6c9a76cbec702c61d06c2af3b3eccaef9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=9F=E6=97=A5=E8=AF=AD?= Date: Sat, 6 Apr 2024 19:38:34 +0800 Subject: [PATCH] [fix] swiper cycle invalid (#425) --- layout/_plugins/swiper.ejs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layout/_plugins/swiper.ejs b/layout/_plugins/swiper.ejs index 9bc5b9a..4984e86 100644 --- a/layout/_plugins/swiper.ejs +++ b/layout/_plugins/swiper.ejs @@ -10,7 +10,7 @@ spaceBetween: 8, centeredSlides: true, effect: effect, - loop: true, + rewind: true, pagination: { el: '.swiper-pagination', clickable: true, @@ -23,4 +23,4 @@ }) } }); - \ No newline at end of file +