Hotfix broken 'pages' template. Needs Tests