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

Add Tilt integration #41

Open
briandominick opened this issue Apr 14, 2018 · 0 comments
Open

Add Tilt integration #41

briandominick opened this issue Apr 14, 2018 · 0 comments

Comments

@briandominick
Copy link
Collaborator

briandominick commented Apr 14, 2018

I don't know why we're limited to using Liquid templates in parse actions, since the committers at Tilt have done the work of making a universal translator for templating engines, including Liquid, Haml, Handlebars, Slim, and ERB. Let's let user's declare a templating engine, pass the work on to Tilt, and call it a day.

- action: parse
  data: mydata.json
  builds:
    - template: _templates/haml/left-nav.html
      engine: haml
      output: _build/left-nav.html
    - template: _template/slim/top-nav.html
      engine: slim
      output: _build/top-nav.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant