-
We've been using this middleware for a while now and it's worked out really well.
Unless there is already a preferred way of doing this in its current state, we wanted to add the following features:
…
-
how to do render theme view?
-
It makes unable to render templates on some circumstances
As far as i can see this:
`var tplPath = path.join(viewPath, tpl + this.extname);`
should be changed to this
`var tplPath = path.join(viewPath…
-
I try to run this,
`Handlebars.registerPartial('myPartial', '{{name}}')`
but, it doesn't work
-
Is there a way to set options to the template engine?
I'm using nunjucks and I want to set some options, like I would do with nunjucks.configure.
ghost updated
8 years ago
-
``` js
app.use(views(__dirname + '/views', {
extension: 'hbs',
map: {
html: 'handlebars'
}
}))
```
-
我想用zoobubbo来调用服务 通过 handlerbars渲染前端页面html.
希望可以提供些意见或建议。
非常感谢。
-
It's been a couple of years since I was using Koa, and at least a year since doing any work with Node.js. I'm not putting the time into this project that it and the developers relying on it deserve. I…
jwilm updated
8 years ago
-
在partial和layout下,`shared`使用无任何问题:
``` html
---
layout: shared:index[.html]
---
{{> shared:header }}
```
但在helper下,`shared`不能正常工作。
``` html
{{shared:js /js/app.js}}
```
如上,`shared:js`被handlebars认…
-
Hi, this is a great module but I'm having some issues trying to use it to render HTML for an HTML email without actually sending it down to the client. Here is what I'm doing now (which seems really h…