Hi.
I have some trouble with page indexses, when trying to display for 4 pages (from 40) in slider, example: http://joxi.ru/p2787PDuKkeXbA
The same range pages (first 4) have been displayed, but not 1-4, 5-8 etc.
I try to do this on Hugo:
for (let i = 0; i < list.length; i+=4) {
console.log(‘start’);
for (let j = i; j < i + 4; j++ ) {
console.log(list[j]);
}
console.log(‘end’);
}
Maybe, someone know how do it?