%meta{:name => "description", :content => 
@page.resource.property.short_description}/

The attributes are a plain old Ruby hash, and that slash at the end 
indicates that it's a self-closing tag.

- Nathan

gshilin wrote:
> In plain rhtml a meta tag looks like this:
>
>       <meta name="description" content="<%=
> @page.resource.property.short_description %>" />
>
> How can I do it in Haml?
>
> Thanks,
> Gregory
>
>
> >
>
>   


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to