generalize ddisearch 404 page by @kevinglover for 404/403/500, with sample templates