From 7cb739da4ce26856beee919f2c6a54d1b2c51bdc Mon Sep 17 00:00:00 2001 From: Eltrac Date: Sat, 25 Jan 2025 14:11:26 +0800 Subject: chore(i18n): set up multilanguage --- layouts/partials/scripts.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'layouts/partials/scripts.html') diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html index e1babce6..e498c129 100644 --- a/layouts/partials/scripts.html +++ b/layouts/partials/scripts.html @@ -26,7 +26,9 @@ loadToc(); littlefoot.littlefoot(littlefootOptions) /* === swup === */ -const swup = new Swup(); +const swup = new Swup({ + linkSelector: 'a[href]:not(.no-swup)' +}); swup.hooks.on('page:view', () => { lazyLoadInstance.update(); Fancybox.bind("[data-fancybox]"); -- cgit v1.2.3