Joker / jade

Jade.go - pug template engine for Go (golang)
BSD 3-Clause "New" or "Revised" License
352 stars 36 forks source link

Why LeftDelim and RightDelim is removed on master, is it moved? #21

Closed jeevatkm closed 5 years ago

jeevatkm commented 6 years ago

Hello @Joker - I'm using these options to supply user config for template delimiter. Why LeftDelim and RightDelim is removed on master, is it moved? I have checked the Go doc, couldn't find a reference.

Could you please added an option?

# github.com/aah-cb/ve-pug
../../github.com/aah-cb/ve-pug/pug.go:98:2: undefined: jade.LeftDelim
../../github.com/aah-cb/ve-pug/pug.go:99:2: undefined: jade.RightDelim
../../github.com/aah-cb/ve-pug/pug.go:137:2: undefined: jade.LeftDelim
../../github.com/aah-cb/ve-pug/pug.go:138:2: undefined: jade.RightDelim
../../github.com/aah-cb/ve-pug/pug.go:201:2: undefined: jade.LeftDelim
../../github.com/aah-cb/ve-pug/pug.go:202:2: undefined: jade.RightDelim
Joker commented 5 years ago

These options are deprecated and removed. You can use vars in config.go instead of it. Or use version 0.7.

jeevatkm commented 5 years ago

@Joker Thanks, I will give it a try on vars and get back to you.