Created
December 3, 2012 03:10
-
-
Save D3MZ/4192390 to your computer and use it in GitHub Desktop.
Haml rocks.
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title><%= full_title(yield(:title)) %></title> | |
<%= stylesheet_link_tag "application", media: "all" %> | |
<%= javascript_include_tag "application" %> | |
<%= csrf_meta_tags %> | |
<%= render 'layouts/shim' %> | |
</head> | |
<body> | |
<%= render 'layouts/header' %> | |
<div class="container"> | |
<%= yield %> | |
<%= render 'layouts/footer' %> | |
<%= debug(params) if Rails.env.development? %> | |
</div> | |
</body> | |
</html> |
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
!!! | |
%html | |
%head | |
%title= full_title(yield(:title)) | |
=stylesheet_link_tag "application", media: "all" | |
=javascript_include_tag "application" | |
=csrf_meta_tags | |
=render 'layouts/shim' | |
%body | |
=render 'layouts/header' | |
.container | |
=yield | |
=render 'layouts/footer' | |
=debug(params) if Rails.env.development? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment