chore: rm package utils

This commit is contained in:
deepzz0
2021-04-28 15:10:13 +08:00
parent 897b05d071
commit 872d0b1987
5 changed files with 68 additions and 7 deletions

View File

@@ -8,7 +8,6 @@ import (
"github.com/eiblog/eiblog/pkg/config"
"github.com/eiblog/eiblog/tools"
"github.com/eiblog/utils/tmpl"
"github.com/gin-gonic/gin"
)
@@ -16,7 +15,7 @@ import (
var htmlTmpl *template.Template
func init() {
htmlTmpl = template.New("eiblog").Funcs(tmpl.TplFuncMap)
htmlTmpl = template.New("eiblog").Funcs(tools.TplFuncMap)
root := filepath.Join(config.WorkDir, "website")
files := tools.ReadDirFiles(root, func(name string) bool {
if name == ".DS_Store" {