templates/404.html
{{ define "404" }} <html> <title>404</title> {{ template "head" . }} <body> 404 — nothing like that here </body> </html> {{ end }}