From 3d8637838e9ccfcb56899842945e760f337428b0 Mon Sep 17 00:00:00 2001 From: "Gabriel A. Giovanini" Date: Sun, 26 May 2024 22:14:56 +0200 Subject: feat: Add about page --- templates/helloworld.qtpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/helloworld.qtpl') 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() %} -- cgit v1.2.3