diff options
Diffstat (limited to 'layouts/partials/scripts.html')
| -rw-r--r-- | layouts/partials/scripts.html | 4 |
1 files changed, 3 insertions, 1 deletions
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]"); |
