1

I'm planning to develop a CMS with ruby/rails. One of the main key features that I'm planning is to give the user to edit their layout (I'm planning to do this through liquid)

meanwhile i have red some good articles on HAML and SaaS. So just wondering whether i can use haml + liquid + sass for my work

If possible i would thankful if you could point me some resources

thanks in advance

cheers,

sameera

sameera207
  • 16,547
  • 19
  • 87
  • 152

3 Answers3

4

I think that is possible, take a look at this project mixing Jekyll, Haml and SCSS.

Arturo Herrero
  • 12,772
  • 11
  • 42
  • 73
1

I don't think that HAML and Liquid are really compatible. Plus, as HAML has significant whitespace, i don't see it as a good idea to introduce it as the markup for CMS content editing (assuming we are dealing with an average webmaster or a regular user with a WYSIWYG editor here).

Tanel Suurhans
  • 1,632
  • 12
  • 11
  • Arturo's answer is the correct one. Using the `==` operator, it is possible to make Haml play nice with Liquid. **If** you wish to add this layer of complexity to your project, it is feasible. – benastan Feb 07 '13 at 05:52
0

I've seen haml and liquid working at least once on this jekyll fork:

http://github.com/henrik/jekyll

So what you are proposing is certainly possible. I don't know whether it will be "easy", though.

kikito
  • 51,734
  • 32
  • 149
  • 189