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

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

{% func (p *HelloPage) Content() %}
HelloWorld

{%s p.Body %}
{% endfunc %}

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