diff options
author | Gabriel Arakaki Giovanini <mail@gabrielgio.me> | 2023-07-19 20:12:07 +0200 |
---|---|---|
committer | Gabriel Arakaki Giovanini <mail@gabrielgio.me> | 2023-07-19 20:12:07 +0200 |
commit | e359eaaebd7270476075ca9e08b7b53fb9e69f24 (patch) | |
tree | 74f17671b47873316301d8692cee4673e77865ba /templates/error.qtpl | |
parent | 1d9d5f40fe4092657f529bdba18f6f52511eea00 (diff) | |
download | lens-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.qtpl | 4 |
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 %} |