forked from forgejo/forgejo
use ctx.Handle to handle 404 page
This commit is contained in:
parent
ad31893bbb
commit
47493a0191
5 changed files with 34 additions and 20 deletions
7
templates/status/500.tmpl
Normal file
7
templates/status/500.tmpl
Normal file
|
@ -0,0 +1,7 @@
|
|||
{{template "base/head" .}}
|
||||
{{template "base/navbar" .}}
|
||||
<div id="gogs-body" class="container">
|
||||
<p>An error is occurred : {{.ErrorMsg}}</p>
|
||||
<p>Application Version: {{AppVer}}</p>
|
||||
</div>
|
||||
{{template "base/footer" .}}
|
Loading…
Add table
Add a link
Reference in a new issue