Skip to content

Commit

Permalink
Initial Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Gareth Rees authored and Gareth Rees committed Feb 10, 2012
0 parents commit 5dae1a0
Show file tree
Hide file tree
Showing 7 changed files with 92 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Gemfile
@@ -0,0 +1,9 @@
source "http://rubygems.org"
gem "sinatra"
gem "pony"
gem "xml-sitemap"

group :development do
gem 'sass'
gem 'shotgun'
end
17 changes: 17 additions & 0 deletions app.rb
@@ -0,0 +1,17 @@
require 'sinatra/base'

class App < Sinatra::Base
set :root, File.dirname(__FILE__)

# ROUTES #

get "/" do
erb :index
end

# HELPERS #

helpers do

end
end
16 changes: 16 additions & 0 deletions config.ru
@@ -0,0 +1,16 @@
require 'rubygems'
require 'bundler'

Bundler.require

require './app'

set :environment, :development
disable :run

configure :development do
require 'sass/plugin/rack'
use Sass::Plugin::Rack
end

run App
Empty file.
Empty file.
Empty file added views/index.html
Empty file.
50 changes: 50 additions & 0 deletions views/layout.html.erb
@@ -0,0 +1,50 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />

<!-- Make a DNS handshake with a foreign domain, so the connection goes faster when the user eventually needs to access it. This works well for loading in assets (like images) from another domain, or a JavaScript library from a CDN. -->
<link rel="dns-prefetch" href="//ajax.googleapis.com" />
<link rel="dns-prefetch" href="//s3.amazonaws.com" />
<!-- Make sure the latest version of IE is used -->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />

<!-- Link to Sitemap -->
<link rel="sitemap" type="application/xml" title="Sitemap" href="/sitemap.xml" />

<!-- Main Page Title -->
<title></title>
<!-- Content Information -->
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta name="author" content="" />

<!-- Canonical URL -->
<link rel="canonical" href="" />

<!-- Mobile viewport optimized: j.mp/bplateviewport -->
<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<!-- Place favicon.ico and apple-touch-icon.png in the root directory: mathiasbynens.be/notes/touch-icons -->

<!-- Suppress IE6 Image Toolbar -->
<meta http-equiv="imagetoolbar" content="false" />

<!-- CSS: implied media="all" -->
<link rel="stylesheet" href="/stylesheets/application.css" />

<!-- JQuery from Google -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.js"></script>

<!-- Load JS (Should be at bottom) -->
<script src="/javascripts/application.js"></script>

<!-- HTML5 Shim -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>

</body>
</html>

0 comments on commit 5dae1a0

Please sign in to comment.