Add capitalize filter; fix page.layoutWas and page.contentWas