Skip to content

Instantly share code, notes, and snippets.

@darron
Created January 31, 2010 18:30
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 darron/291184 to your computer and use it in GitHub Desktop.
Save darron/291184 to your computer and use it in GitHub Desktop.
require 'page'
run Sinatra::Application
<html>
<head><title>html goes here</title>
</head>
<body>
Your staticmatic output goes here - you can use haml if you want too.
</body>
</html>
require 'rubygems'
require 'sinatra'
require 'erb'
# require 'haml'
get '/' do
erb :index
# or
# haml :index
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment