diff --git a/pkg/core/eiblog/file/timer.go b/pkg/core/eiblog/file/timer.go index 2567516..cf12534 100644 --- a/pkg/core/eiblog/file/timer.go +++ b/pkg/core/eiblog/file/timer.go @@ -17,7 +17,7 @@ import ( var xmlTmpl *template.Template func init() { - root := filepath.Join(config.WorkDir, "conf", "tpl", "*.xml") + root := filepath.Join(config.WorkDir, "website", "template", "*.xml") var err error xmlTmpl, err = template.New("").Funcs(template.FuncMap{ diff --git a/conf/tpl/crossdomainTpl.xml b/website/template/crossdomainTpl.xml similarity index 100% rename from conf/tpl/crossdomainTpl.xml rename to website/template/crossdomainTpl.xml diff --git a/conf/tpl/feedTpl.xml b/website/template/feedTpl.xml similarity index 100% rename from conf/tpl/feedTpl.xml rename to website/template/feedTpl.xml diff --git a/conf/tpl/opensearchTpl.xml b/website/template/opensearchTpl.xml similarity index 100% rename from conf/tpl/opensearchTpl.xml rename to website/template/opensearchTpl.xml diff --git a/conf/tpl/robotsTpl.xml b/website/template/robotsTpl.xml similarity index 100% rename from conf/tpl/robotsTpl.xml rename to website/template/robotsTpl.xml diff --git a/conf/tpl/sitemapTpl.xml b/website/template/sitemapTpl.xml similarity index 100% rename from conf/tpl/sitemapTpl.xml rename to website/template/sitemapTpl.xml