I believe the reason it's not validating is because "description" is
not a valid (X)HTML attribute. <http://www.w3.org/TR/html401/struct/
global.html#h-7.4.4.2>
You should split it up into multiple elements:
%meta{:'http-equiv'=>'Content-type', :content=>'text/html;
charset=utf-8'}/
%meta{:name=>'keywords', :content=>'fee, fi, fo, fum'}/
%meta{:name=>'description', :content=>'lorem ipsum dolor sit amet'}/
# etc...
Hope this helps.
Gabriel
On Mar 22, 9:35 am, eric <[EMAIL PROTECTED]> wrote:
> Hey - First post here - be nice.
>
> New to Haml, working on my first page, and I got bogged down on line
> #3
>
> Want to add appropriate meta data: title, description, and keywords.
>
> %meta{ :"http-equiv" => "Content-Type", :content => "text/html;
> charset=utf-8",:name => "Name",:description => "Description",:keywords
> =>"Keywords"}
>
> This way won't validate - suggestions?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---