1!!! 2%html{ :xmlns => "http://www.w3.org/1999/xhtml", :lang => "en", "xml:lang" => "en"} 3 %head 4 %title BoBlog 5 %meta{"http-equiv" => "Content-Type", :content => "text/html; charset=utf-8"} 6 %link{"rel" => "stylesheet", "href" => "main.css", "type" => "text/css"} 7 %body 8 #header 9 %h1 BoBlog 10 %h2 Bob's Blog 11 #content 12 - @entries.each do |entry| 13 .entry 14 %h3.title= entry.title 15 %p.date= entry.posted.strftime("%A, %B %d, %Y") 16 %p.body= entry.body 17 #footer 18 %p 19 All content copyright © Bob 20