Skip to content

Instantly share code, notes, and snippets.

Created December 22, 2012 10:27
Show Gist options
  • Save anonymous/4358364 to your computer and use it in GitHub Desktop.
Save anonymous/4358364 to your computer and use it in GitHub Desktop.
require 'haml'
require 'sinatra/base'
class Application < Sinatra::Base
configure do
set :server, 'thin'
end
get '/' do
haml :index
end
end
$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'application'
run Application
source 'http://rubygems.org/'
gem 'sinatra', '~> 1.3.0'
gem 'thin'
gem 'haml'
!!!
%html
%head
%link{:rel => 'stylesheet', :type => 'text/css', :href => 'styles.css', :media => 'screen'}
%title Φαρμακείο Metropolis
%body
#wrapper
#header
#content
= yield
#footer
%p Panagiotis Atmatzidis - All rights (c) reserved 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment