templates/500.html
{{ define "500" }} <html> <title>500</title> {{ template "head" . }} <body> {{ template "nav" . }} <main> <h3>500 — something broke!</h3> </main> </body> </html> {{ end }}