aboutsummaryrefslogtreecommitdiff
path: root/templates/error.qtpl
blob: 771d5333f95ee509b2e1680de168003bf24b2b32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{% code
type ErrorPage struct {
    Message string
}
%}

{% func (p *ErrorPage) Title() %}Error{% endfunc %}

{% func (p *ErrorPage) Navbar() %}{%= Navbar(Git) %}{% endfunc %}

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

{% func (p *ErrorPage) Script() %}
{% endfunc %}