Skip to content

Commit

Permalink
Add support for a body id and class
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Stacoviak committed Oct 28, 2009
1 parent 15f304b commit 52515d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/layouts/application.haml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
- @site_name ||= "StaticMatic Bootstrap"
- @body_id ||= "application"

!!!
%html
%head
= partial('shared/head')
%body{:id => @body_id}
%body{:id => @body_id, :class => @body_class}
= yield

0 comments on commit 52515d5

Please sign in to comment.