Fix mapping issue with pages.jade