From 91c535a080f05be23ee1320b0701dae6ff3601af Mon Sep 17 00:00:00 2001 From: elijah Date: Thu, 23 Jan 2014 02:05:37 -0800 Subject: move #masthead out of main templates to make the masthead partials more flexible. --- app/views/home/_masthead.html.haml | 6 ++---- app/views/home/index.html.haml | 30 +++++++++--------------------- 2 files changed, 11 insertions(+), 25 deletions(-) (limited to 'app/views/home') diff --git a/app/views/home/_masthead.html.haml b/app/views/home/_masthead.html.haml index e5d63d6..6759339 100644 --- a/app/views/home/_masthead.html.haml +++ b/app/views/home/_masthead.html.haml @@ -1,6 +1,4 @@ -# An example masthead: -# --# #masthead-text --# .container-fluid --# .row-fluid --# %h1 Example \ No newline at end of file +-# #masthead +-# %h1 Example \ No newline at end of file diff --git a/app/views/home/index.html.haml b/app/views/home/index.html.haml index 2d5b238..147cacd 100644 --- a/app/views/home/index.html.haml +++ b/app/views/home/index.html.haml @@ -1,21 +1,9 @@ -!!! -%html - %head - %meta{:content => "width=device-width, initial-scale=1.0", :name => "viewport"} - %title= html_title - %meta{:content => content_for?(:description) ? yield(:description) : "Leap Web", :name => "description"} - = stylesheet_link_tag "application", :media => "all" - = javascript_include_tag "application" - = csrf_meta_tags - = yield(:head) - %body - #wrap - #masthead - = render 'home/masthead' - #main - .container-fluid - = render 'home/content' - #push - -# #push is used for sticky footer in bootstrap 2. remove when upgrading to bootstrap 3 - #footer - = render 'layouts/footer' \ No newline at end of file +#wrap + = render 'home/masthead' + #main + .container-fluid + = render 'home/content' + #push + -# #push is used for sticky footer in bootstrap 2. remove when upgrading to bootstrap 3 +#footer + = render 'layouts/footer' \ No newline at end of file -- cgit v1.2.3