a koa view render middleware, support all feature of ejs