updated layouts to serve correct URLs