From 3be25766027178489a0c5f1f82e65f9be518c79c Mon Sep 17 00:00:00 2001 From: "Gabriel A. Giovanini" Date: Sun, 5 May 2024 19:35:41 +0200 Subject: feat: Add chroma support --- templates/helloworld.qtpl | 2 +- templates/helloworld.qtpl.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'templates') 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(` `) -- cgit v1.2.3