Skip to content

Instantly share code, notes, and snippets.

@tbuehlmann
Created October 4, 2009 16:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tbuehlmann/201454 to your computer and use it in GitHub Desktop.
Save tbuehlmann/201454 to your computer and use it in GitHub Desktop.
CSS Test
require 'index'
run Sinatra::Application
%h1 Hello World!
%w{rubygems sinatra haml}.each {|gem| require gem}
get '/' do
haml :index
end
!!!
%html{:xmlns => "http://www.w3.org/1999/xhtml"}
%head
%link{:rel => "stylesheet", :type => "text/css", :href => "/css/style.css"}
%meta{:content => "text/html; charset=utf-8", :"http-equiv" => "Content-Type"}
%body
= yield
body {
background-color: #4b7399;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment