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

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

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

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