The Wix Blog has built-in pagination with links. Links are required for good SEO.
I have reproduced this pagination element that uses unique URLs and creates my own implementation. (Lots of code 😳)
For that, I use a wix-router on the server part and I generating custom pagination by Repeater on the front-end part.
So pagination is a difficult component. I share my solution I hope it will be helpful (interesting) to take a look at how it works. DEMO: https://alexanderz5.wixsite.com/pagination/custom-blog
backend/routers.js Route logic for pagination
import wixData from 'wix-data';
import { ok, redirect, WixRouterSitemapEntry } from 'wix-router';
import urlJoin from 'url-join';
const hasContent = (val) => typeof val === 'string' && val.trim() !== '';
const isNumeric = (val) => hasContent(val) && /^[\d]+$/.test(val);
const parseNumber = (val