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

{% code
type AboutPage struct {
    LoggedIn bool
    Body []byte
}
%}

{% func (p *AboutPage) Title(ctx context.Context) %}Hello{% endfunc %}

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

{% func (p *AboutPage) Content(ctx context.Context) %}
{%z= p.Body %}
{% endfunc %}

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