Layout page blanked. How to prevent?

You have a folder called admin as well as a layout called admin (which may use the same routes of /admin). This may be what’s causing the issues. Try creating a layout called admin_layout.ejs, paste in the code you want and then link that to your content pages.