1{% import "context" %}
2
3{% code
4type AboutPage struct {
5 LoggedIn bool
6 Body []byte
7}
8%}
9
10{% func (p *AboutPage) Title(ctx context.Context) %}Hello{% endfunc %}
11
12{% func (p *AboutPage) Navbar(ctx context.Context) %}{%= Navbar(ctx, About) %}{% endfunc %}
13
14{% func (p *AboutPage) Content(ctx context.Context) %}
15{%z= p.Body %}
16{% endfunc %}
17
18{% func (p *AboutPage) Script(ctx context.Context) %}
19{% endfunc %}