final tweaks for the initial round
This commit is contained in:
@ -13,14 +13,20 @@
|
||||
= stylesheet_link_tag "all"
|
||||
= javascript_include_tag "vendor/modernizr"
|
||||
= partial "shared/analytics"
|
||||
|
||||
- unless current_page.data.poster.nil?
|
||||
:css
|
||||
.poster { background-image: url(#{ current_page.data.poster });}
|
||||
|
||||
= yield_content :head
|
||||
%body{class: page_classes}
|
||||
/[if lt IE 8]
|
||||
<haml_loud> partial "shared/compatibility-notice" </haml_loud>
|
||||
= partial "shared/header"
|
||||
- if current_page.data.poster.present?
|
||||
- if current_page.data.poster.nil?
|
||||
.spacer-50
|
||||
- else
|
||||
.poster
|
||||
= tag :img, src: current_page.data.poster, style: 'background-repeat:repeat-y;width: 100%; height: 200px;'
|
||||
.container
|
||||
= yield
|
||||
.spacer-50
|
||||
|
Reference in New Issue
Block a user