diff options
author | Max Magorsch <arzano@gentoo.org> | 2020-06-23 19:39:37 +0000 |
---|---|---|
committer | Max Magorsch <arzano@gentoo.org> | 2020-06-23 19:39:37 +0000 |
commit | 7afe2554efd70e0a2ff4b0d54618b9fa744f3af7 (patch) | |
tree | c99fd2164e95e1a98e44f41deeca227594b19a75 /pkg/app/popular/utils.go | |
parent | Decode subjects correctly (diff) | |
download | archives-7afe2554efd70e0a2ff4b0d54618b9fa744f3af7.tar.gz archives-7afe2554efd70e0a2ff4b0d54618b9fa744f3af7.tar.bz2 archives-7afe2554efd70e0a2ff4b0d54618b9fa744f3af7.zip |
Specify the used templates more explicitly
Signed-off-by: Max Magorsch <arzano@gentoo.org>
Diffstat (limited to 'pkg/app/popular/utils.go')
-rw-r--r-- | pkg/app/popular/utils.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/app/popular/utils.go b/pkg/app/popular/utils.go index 66abe3e..574e60b 100644 --- a/pkg/app/popular/utils.go +++ b/pkg/app/popular/utils.go @@ -13,7 +13,7 @@ func renderPopularThreads(w http.ResponseWriter, templateData interface{}) { template.Must( template.New("Popular"). ParseGlob("web/templates/layout/*.tmpl")). - ParseGlob("web/templates/popular/*.tmpl")) + ParseGlob("web/templates/popular/threads.tmpl")) templates.ExecuteTemplate(w, "threads.tmpl", templateData) } |