1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-19 19:07:06 +00:00
This commit is contained in:
Makis Maropoulos
2016-06-18 01:11:03 +03:00
parent 5d369b7c73
commit 5060cf4f5e
6 changed files with 15 additions and 11 deletions

View File

@@ -160,6 +160,9 @@ func (s *Engine) buildFromAsset() error {
if s.Config.Engine == config.JadeEngine {
contents, err = jade.Parse(name, contents)
}
if err != nil {
return err
}
// Add our funcmaps.
if s.Config.HTMLTemplate.Funcs != nil {