Skip to content
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

reviewing comparable project: khaos #108

Open
kylemac opened this issue Nov 24, 2015 · 1 comment
Open

reviewing comparable project: khaos #108

kylemac opened this issue Nov 24, 2015 · 1 comment

Comments

@kylemac
Copy link
Contributor

kylemac commented Nov 24, 2015

https://github.com/segmentio/khaos

features I like:

  • they use handlebars instead of ejs. it's a lot more readable and maybe even more common at this point. i assume you can use functions, {{ slugify(foo) }} but i haven't tried this
  • they apparently have a no-config base setup that evaluates your files and then prompts for whatever variables you've defined within your template dir
@hhsnopek
Copy link
Contributor

for the functions you need to register them as a helper in handlebars: http://handlebarsjs.com/reference.html#base-registerHelper
The syntax ends up looking like this {{ slugify foo }}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants