Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (14 sloc) 355 Bytes
require 'sinatra'
require 'sinatra/static_assets'
set :root, File.dirname(__FILE__)
class RedGreenTheme < Sinatra::Base
register Sinatra::StaticAssets
get "/" do
@title_for_layout = "Red Green Tumblr Theme"
haml :index, :layout => :red_green
end
get "/preview" do
@title_for_layout = "Preview"
erb :preview
end
end
Something went wrong with that request. Please try again.