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/media.qtpl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'templates/media.qtpl') diff --git a/templates/media.qtpl b/templates/media.qtpl index b9b3bf5..65b39c4 100644 --- a/templates/media.qtpl +++ b/templates/media.qtpl @@ -7,9 +7,7 @@ type MediaPage struct { } %} -{% func (p *MediaPage) Title() %} -Media -{% endfunc %} +{% func (p *MediaPage) Title() %}Media{% endfunc %} {% func (p *MediaPage) Content() %}
-- cgit v1.2.3