pass context to auto tpl
Merge branch 'master' of github.com:sipin/xuanwu