Core

/views/verror/NotFound.html (474 B)

 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{% import (
"{{{ .Package }}}/app"
"{{{ .Package }}}/app/controller/cutil"
"{{{ .Package }}}/views/layout"
) %}

{% code type NotFound struct {
layout.Basic
Path string
} %}

{% func (p *NotFound) Body(as *app.State, ps *cutil.PageState) %}
<div class="card">
<h3>404</h3>
<em>Page not found</em>
<p>We can't find anything at <code>{%s p.Path %}</code></p>
<p>Sorry about that, maybe try the <a href="/">home page</a>?</p>
</div>
{% endfunc %}