views/layout.haml
!!!
%html{:lang => "en", "xml:lang" => "en", :xmlns => "http://www.w3.org/1999/xhtml"}
%head
%meta{:content => "text/html; charset=utf-8", "http-equiv" => "Content-Type"}/
%title Sinatra Template
%link{:href => "/css/blueprint/screen.css", :media => "screen, projection", :rel => "stylesheet", :type => "text/css"}
%link{:href => "/css/blueprint/print.css", :media => "print", :rel => "stylesheet", :type => "text/css"}
%link{:href => "/css/style.css", :media => "screen", :rel => "stylesheet", :type => "text/css"}
%link{:href => "/css/scrollable.css", :media => "screen", :rel => "stylesheet", :type => "text/css"}
%script(src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js")
%script(src="/products.js")
%body
.container
%div.home
%a(href="/")
home
%br
= yield
%div.footer
Sinatra template