-
-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
By default have support for DocPad's standard template helpers #2
Comments
Perhaps it's possible to use the same approach that the jade plugin uses here: https://github.com/docpad/docpad-plugin-jade/blob/master/src/jade.plugin.coffee#L28-L49 |
So this would allow DocPad to use Handlebar's registered helpers? |
Nah, just allow handlebars to use docpad's template helpers. |
What about just making available a text file that we can paste into into docpad.coffee. Not the cleanest solution but it should be implementable by someone who knows what they are doing (which is not me yet) easily enough. |
Right now to support DocPad's standard template helpers we have to define them manually inside our DocPad configuration file, this is a huge area of pain to a lot of new users so we should probably handle that ourselves.
I'd imagine it would be pretty easy, but right now my focus is on other things. @toabi would you be interested in implementing this by any chance?
Original topic: https://groups.google.com/forum/#!topic/docpad/2LPvgtYTrc8
The text was updated successfully, but these errors were encountered: