Skip to content

Instantly share code, notes, and snippets.

@quinn
Created November 5, 2010 15:46
Show Gist options
  • Save quinn/664326 to your computer and use it in GitHub Desktop.
Save quinn/664326 to your computer and use it in GitHub Desktop.
!!
%head
%title SiteName
= stylesheet_link_tag 'screen'
= stylesheet_link_tag 'print'
/[if IE]
= stylesheet_link_tag 'ie', :media => 'screen, projection'
= stylesheet_link_tag 'custom'
= javascript_include_tag :defaults
= csrf_meta_tag
%body
.container
.span-24.last
- if loggedin?
Hello logged in user!
- else
= link_to 'Sign Out', '/users/sign_out'
= link_to 'Sign In', '/users/sign_in'
.clear
.span-24.last
=yield
.clear
.span-24.last
#footer
%p Here's a footer.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment