aboutsummaryrefslogtreecommitdiff
path: root/templates/error.qtpl
diff options
context:
space:
mode:
authorGabriel Arakaki Giovanini <mail@gabrielgio.me>2023-07-19 20:12:07 +0200
committerGabriel Arakaki Giovanini <mail@gabrielgio.me>2023-07-19 20:12:07 +0200
commite359eaaebd7270476075ca9e08b7b53fb9e69f24 (patch)
tree74f17671b47873316301d8692cee4673e77865ba /templates/error.qtpl
parent1d9d5f40fe4092657f529bdba18f6f52511eea00 (diff)
downloadlens-e359eaaebd7270476075ca9e08b7b53fb9e69f24.tar.gz
lens-e359eaaebd7270476075ca9e08b7b53fb9e69f24.tar.bz2
lens-e359eaaebd7270476075ca9e08b7b53fb9e69f24.zip
feat: Move register from `html/template` to qtpl
Diffstat (limited to 'templates/error.qtpl')
-rw-r--r--templates/error.qtpl4
1 files changed, 1 insertions, 3 deletions
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 %}