Remove templating completely

This commit is contained in:
2022-01-17 22:17:23 +00:00
parent aa33c148cb
commit 6d49a549a0
2 changed files with 0 additions and 51 deletions

View File

@ -31,12 +31,6 @@ func (h *Handler) Serve() {
router := gin.Default()
router.FuncMap["now"] = time.Now
templates, err := NewTemplates(router.FuncMap)
if err != nil {
panic(err)
}
router.HTMLRender = templates
static, err := fs.Sub(web.Static, "dist")
if err != nil {
panic("couldn't open static files")