Adjust templates to fix a bug where 404 won't display correctly if it's not on the root folder