aboutsummaryrefslogtreecommitdiff
path: root/templates/helloworld.qtpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/helloworld.qtpl')
-rw-r--r--templates/helloworld.qtpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/helloworld.qtpl b/templates/helloworld.qtpl
index 45c5595..1785bb5 100644
--- a/templates/helloworld.qtpl
+++ b/templates/helloworld.qtpl
@@ -1,13 +1,13 @@
{% code
type HelloPage struct {
- Body string
+ Body []byte
}
%}
{% func (p *HelloPage) Title() %}Hello{% endfunc %}
{% func (p *HelloPage) Content() %}
-{%s= p.Body %}
+{%z= p.Body %}
{% endfunc %}
{% func (p *HelloPage) Script() %}