summaryrefslogtreecommitdiff
path: root/app/views/home
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2014-01-23 02:05:37 -0800
committerelijah <elijah@riseup.net>2014-01-23 11:37:50 -0800
commit91c535a080f05be23ee1320b0701dae6ff3601af (patch)
treea58470bb932a37fc6a049b77f6064c330000057b /app/views/home
parent8f624a9f6a130293d921e0f0076a3ecb08b481b7 (diff)
move #masthead out of main templates to make the masthead partials more flexible.
Diffstat (limited to 'app/views/home')
-rw-r--r--app/views/home/_masthead.html.haml6
-rw-r--r--app/views/home/index.html.haml30
2 files changed, 11 insertions, 25 deletions
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