I would like to add elements to the site layout (the section above the global layout so I need to edit the main.vmd) and hide them on the edit page layout (otherwise they would overlap the editor window)
How can I do that? Checking for edit mode in main.vmd doesn't seem to work like in page.vmd
many thanks!