Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Gareth Rees
authored and
Gareth Rees
committed
Feb 10, 2012
0 parents
commit 5dae1a0
Showing
7 changed files
with
92 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
source "http://rubygems.org" | ||
gem "sinatra" | ||
gem "pony" | ||
gem "xml-sitemap" | ||
|
||
group :development do | ||
gem 'sass' | ||
gem 'shotgun' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |