diff options
author | Gabriel A. Giovanini <mail@gabrielgio.me> | 2024-05-26 22:14:56 +0200 |
---|---|---|
committer | Gabriel A. Giovanini <mail@gabrielgio.me> | 2024-05-26 22:14:56 +0200 |
commit | 3d8637838e9ccfcb56899842945e760f337428b0 (patch) | |
tree | 2a2780e84b7ed00a0f56234f663fba92d44dfb53 /templates/helloworld.qtpl.go | |
parent | adc207d2e6c39fa31283d83021e76300c0099c37 (diff) | |
download | cerrado-3d8637838e9ccfcb56899842945e760f337428b0.tar.gz cerrado-3d8637838e9ccfcb56899842945e760f337428b0.tar.bz2 cerrado-3d8637838e9ccfcb56899842945e760f337428b0.zip |
feat: Add about page
Diffstat (limited to 'templates/helloworld.qtpl.go')
-rw-r--r-- | templates/helloworld.qtpl.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/helloworld.qtpl.go b/templates/helloworld.qtpl.go index 61c8f75..7e37f3b 100644 --- a/templates/helloworld.qtpl.go +++ b/templates/helloworld.qtpl.go @@ -19,7 +19,7 @@ var ( //line helloworld.qtpl:2 type HelloPage struct { - Body string + Body []byte } //line helloworld.qtpl:7 @@ -61,7 +61,7 @@ func (p *HelloPage) StreamContent(qw422016 *qt422016.Writer) { qw422016.N().S(` `) //line helloworld.qtpl:10 - qw422016.N().S(p.Body) + qw422016.N().Z(p.Body) //line helloworld.qtpl:10 qw422016.N().S(` `) |