4bcbc588 by astaxie

fix #260

1 parent 5f4fe6d8
...@@ -162,7 +162,7 @@ func getTplDeep(root, file string, t *template.Template) (*template.Template, [] ...@@ -162,7 +162,7 @@ func getTplDeep(root, file string, t *template.Template) (*template.Template, []
162 } else { 162 } else {
163 relativefile := filepath.Join(filepath.Dir(file), m[1]) 163 relativefile := filepath.Join(filepath.Dir(file), m[1])
164 if e, _ := FileExists(relativefile); e { 164 if e, _ := FileExists(relativefile); e {
165 t, _, err = getTplDeep(root, m[1], t) 165 t, _, err = getTplDeep(root, relativefile, t)
166 if err != nil { 166 if err != nil {
167 return nil, [][]string{}, err 167 return nil, [][]string{}, err
168 } 168 }
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!