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

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

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

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