aboutsummaryrefslogtreecommitdiff
path: root/templates/error.qtpl
blob: 65e1321d87ff4dbe30790880e238fc7f5ce5dd14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{% import "context" %}

{% code
type ErrorPage struct {
    Message string
}
%}

{% func (p *ErrorPage) Title(ctx context.Context) %}Error{% endfunc %}

{% func (p *ErrorPage) Navbar(ctx context.Context) %}{%= Navbar(ctx, Git) %}{% endfunc %}

{% func (p *ErrorPage) Content(ctx context.Context) %}
{%s p.Message %}
{% endfunc %}

{% func (p *ErrorPage) Script(ctx context.Context) %}
{% endfunc %}