Skip to content

Instantly share code, notes, and snippets.

@thomasplevy
Created April 26, 2012 03:43
Show Gist options
  • Save thomasplevy/2495615 to your computer and use it in GitHub Desktop.
Save thomasplevy/2495615 to your computer and use it in GitHub Desktop.
HAML: HTML5/HAML/SINATRA STARTER
!!!
%html{ :lang => 'en'}
%head
%title= @title
%meta{ :charset => 'utf-8' }
%meta{ :content => '', :name => 'description' }
%meta{ :content => '', :name => 'author' }
%link{ :rel => 'stylesheet', :href => '/css/style.css' }
%script{ :src => 'https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js' }
%script{ :src => 'js/scripts.js' }
%body
.page
%header
%nav
%ul
%li Home
%section
=yield
%footer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment