Skip to content

Commit

Permalink
application layout added
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Semyonov committed Jul 13, 2009
1 parent 5f9ad94 commit 8b8f2a1
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions generic.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,23 @@
# Adding Compass
gem 'chriseppstein-compass', :lib => 'compass', :source => 'http://gems.github.com/'
run 'compass --rails -f blueprint . --sass-dir=app/stylesheets --css-dir=public/stylesheets/compiled'

file 'app/views/layouts/application.html.haml', <<-FILE
!!! HTML5
%html#nojs{html_attrs('ru-RU')}
%head
%meta(http-equiv="Content-type" content="text/html; charset=UTF-8")
%title= [page_layout, t('title')].compact * '. '
%body
%header.b_header
%h1.b_logo= t('logo')
%nav.b_nav
%ul= main_navigation
%content.b_content
= yield
%footer.b_footer
%p.b_copyrights= t('copyrights')
FILE
git :add => '.'
git :commit => '-am "HAML, SASS and Blueprint through Compass"'

Expand Down

0 comments on commit 8b8f2a1

Please sign in to comment.