template: fix link for 500 and 404 error