aboutsummaryrefslogtreecommitdiff
path: root/templates/about.qtpl
blob: faee50e18821c54e739efd5611c0b548cf94cc15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{% code
type AboutPage struct {
    Body []byte
}
%}

{% func (p *AboutPage) Title() %}Hello{% endfunc %}

{% func (p *AboutPage) Navbar() %}{%= Navbar(About) %}{% endfunc %}

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

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