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

HAML Support #2984

Closed
timbuktuuu opened this issue Jun 2, 2015 · 1 comment
Closed

HAML Support #2984

timbuktuuu opened this issue Jun 2, 2015 · 1 comment

Comments

@timbuktuuu
Copy link

HI folks,

i wonder if sails stopped the haml Support because i cant get it running.

Thank you for any kind of Help.

Cheers

@sgress454
Copy link
Member

Oh, boy. Looks like Consolidate.js exports haml, but loads hamljs, giving our automated engine-loader the slip. Patched here on master so that you can do:

  engine: {
    name: 'haml',
    module: 'hamljs',
    ext: 'haml'
  }

which also fixes similar issues with Liquid and Hogan templates. Also submitted a pull request to Conslidate, we'll see where that goes.

We're gearing up to push out a new release; in the meantime, I'm afraid there's not a ton you can do besides pulling down the patched Sails from Github.

sgress454 added a commit that referenced this issue May 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants