iris/_examples/routing/subdomains/http-errors-view/views/error.html
Gerasimos (Makis) Maropoulos 8340285e7d
fix #1588
2020-08-15 12:17:48 +03:00

10 lines
285 B
HTML

<div style="background-color: black; color: red">
<h1>Oups, you've got an error!</h1>
{{ if .ErrorCode }}
{{ $tmplName := print "partials/" .ErrorCode ".html"}}
{{ render $tmplName }}
{{ else }}
{{ render "partials/500.html" }}
{{ end }}
</div>