Using HAML in templates?

I noticed that Radiant has HAML but are we able to use them in templates
by default? I’ve tried something like:

%p hello world this is a demo

%figure <
%img{:src => ‘image.jpg’, :alt => ‘Hello’, :height=‘340’} <
%figcaption <
%span <
Caption here

But it does not parse. I might be going crazy and not doing it right?

did you install the plugin?
check out the tutorial here: http://haml-lang.com/tutorial.html

On Fri, Nov 5, 2010 at 8:22 PM, Jordon B. [email protected]
wrote:

But it does not parse. I might be going crazy and not doing it right?

What do you mean by “templates”?
Rails views in your extensions? Yes.
Radiant layouts? No. But you can add this
http://ext.radiantcms.org/extensions/145-haml-filter

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs