I have made transitions between pages using swupJS. The footer is not in the swup container, so it is not reloaded. I also have a 404 page which has no footer.
The problem is that if the user goes to page 404 or to another page without a footer, it will still have the footer. But if you refresh the browser on the page 404, then the footer will not be, but when you go to another page with a footer, the footer will not be.
Is it possible to add and delete blocks in swup when you switch to a certain page? Or when transitioning from a certain page.
Including the footer in the swup container is not an option. Now I just removed the swup container on the 404 page, and when I go to the page I have the usual load. But I would like to have beautiful transitions throughout the site.