On Wed, Jun 4, 2008 at 1:33 AM, Geffy <[EMAIL PROTECTED]> wrote: > > I believe this is available in 2.0 > > == My web site name #{h(site.name)} and the rest of the sentence
That's been available for a while. It's an alternate (simpler, IMO) syntax for your next example. >> How can I do the erb equivalent in HAML ? >> >> My web site name <%= h(site.name) %> and the rest of the sentence >> >> Usually, I do >> >> My web site name >> <%= h(site.name) %> >> and the rest of the sentence To mimic that exactly, just do: My web site name = h(site.name) and the rest of the sentence -- Chris Boone, Hypsometry http://hypsometry.com/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Haml" group. To post to this group, send email to haml@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/haml?hl=en -~----------~----~----~----~------~----~------~--~---