mirror of
https://github.com/kataras/iris.git
synced 2025-01-24 19:21:03 +01:00
10 lines
285 B
HTML
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>
|