{% 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 %}