Add the template to each page, as it's done in app.pt, or break that part of app.pt out and use a different base template for these layouts so that is is common to one file.