Cannot detect page.layout (reliably) in includes