Created
October 21, 2011 19:27
-
-
Save krazylegz/1304707 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| !!! 5 | |
| %html{:class => 'no-js', :lang => 'en'} | |
| %head | |
| -# To render a different stylesheet partial inside the head (i.e. for admin layout) | |
| -# just copy _stylesheets.html.haml, and point to that partial instead. | |
| = render "layouts/head", :stylesheet_partial => "layouts/stylesheets" | |
| %body{ :class => "#{controller.controller_name}" } | |
| #container | |
| %header#header | |
| = render "layouts/header" | |
| #main{ :role => 'main' } | |
| = render "layouts/flashes" | |
| = yield | |
| %footer#footer | |
| = render "layouts/footer" | |
| -# Javascript at the bottom for fast page loading | |
| = render "layouts/javascripts" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment