aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorGabriel A. Giovanini <mail@gabrielgio.me>2024-05-05 19:35:41 +0200
committerGabriel A. Giovanini <mail@gabrielgio.me>2024-05-05 19:35:41 +0200
commit3be25766027178489a0c5f1f82e65f9be518c79c (patch)
tree2a9d8b2e63ae40d571b0ea899baf4c1567c15d3e /templates
parentf5b5f72f7eaf14692b8036c3698037c647b2423a (diff)
downloadcerrado-3be25766027178489a0c5f1f82e65f9be518c79c.tar.gz
cerrado-3be25766027178489a0c5f1f82e65f9be518c79c.tar.bz2
cerrado-3be25766027178489a0c5f1f82e65f9be518c79c.zip
feat: Add chroma support
Diffstat (limited to 'templates')
-rw-r--r--templates/helloworld.qtpl2
-rw-r--r--templates/helloworld.qtpl.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/helloworld.qtpl b/templates/helloworld.qtpl
index 02c0968..66287ea 100644
--- a/templates/helloworld.qtpl
+++ b/templates/helloworld.qtpl
@@ -9,7 +9,7 @@ type HelloPage struct {
{% func (p *HelloPage) Content() %}
HelloWorld
-{%s p.Body %}
+{%s= p.Body %}
{% endfunc %}
{% func (p *HelloPage) Script() %}
diff --git a/templates/helloworld.qtpl.go b/templates/helloworld.qtpl.go
index 9ef78f5..a12455f 100644
--- a/templates/helloworld.qtpl.go
+++ b/templates/helloworld.qtpl.go
@@ -63,7 +63,7 @@ HelloWorld
`)
//line helloworld.qtpl:12
- qw422016.E().S(p.Body)
+ qw422016.N().S(p.Body)
//line helloworld.qtpl:12
qw422016.N().S(`
`)