Local storage and layout pages

HI,
Using node.js server and just started using a layout for my header.
I noticed that if I create a new page and select my header layout, there is a lot less code added to the page.
If I already have some pages which I want to use with a new layout, the existing code in the head is left in place and causes appconnect.js to be loaded twice etc.
Should I remove the head code or create a new page and copy across the server connect and content or is there a Wappler way to do this?
Also if I use layouts, should I add local storage to the layout page since that will be shared across all content pages using that layout?
Thanks.

Community Page
Last updated: