From e359eaaebd7270476075ca9e08b7b53fb9e69f24 Mon Sep 17 00:00:00 2001 From: Gabriel Arakaki Giovanini Date: Wed, 19 Jul 2023 20:12:07 +0200 Subject: feat: Move register from `html/template` to qtpl --- templates/error.qtpl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'templates/error.qtpl') diff --git a/templates/error.qtpl b/templates/error.qtpl index b71adc8..d82ca1c 100644 --- a/templates/error.qtpl +++ b/templates/error.qtpl @@ -4,9 +4,7 @@ type ErrorPage struct { } %} -{% func (p *ErrorPage) Title() %} -Error -{% endfunc %} +{% func (p *ErrorPage) Title() %}Error{% endfunc %} {% func (p *ErrorPage) Content() %} {%s p.Err %} -- cgit v1.2.3