summaryrefslogtreecommitdiff
path: root/amber/layouts
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2014-08-12 17:10:28 -0700
committerelijah <elijah@riseup.net>2014-08-12 17:10:28 -0700
commit1ba4373f2e2d732b2de00e0da4c41099422ac3c8 (patch)
tree2a5bc1cfb299e567ed83ce4e2e99631d162e4987 /amber/layouts
parentdfb4ed7419125d87c99994251ce808e7f0e7b670 (diff)
nice scaling masthead
Diffstat (limited to 'amber/layouts')
-rw-r--r--amber/layouts/_masthead.html.haml4
-rw-r--r--amber/layouts/home.html.haml4
2 files changed, 4 insertions, 4 deletions
diff --git a/amber/layouts/_masthead.html.haml b/amber/layouts/_masthead.html.haml
index aad0bbd..c495954 100644
--- a/amber/layouts/_masthead.html.haml
+++ b/amber/layouts/_masthead.html.haml
@@ -3,9 +3,9 @@
.col-sm-12
.masthead-inner
.text.top
- =t :banner_top
+ %span= t :banner_top
.text.bottom
- =t :banner_bottom
+ %span= t(:banner_motto).gsub('<br>', '&nbsp;<br>&nbsp;')
%ul.list-unstyled#top-menu
- top_navigation_items(include_home:true) do |item|
%li{:class => item[:class]}
diff --git a/amber/layouts/home.html.haml b/amber/layouts/home.html.haml
index bd84141..7da5f72 100644
--- a/amber/layouts/home.html.haml
+++ b/amber/layouts/home.html.haml
@@ -12,8 +12,8 @@
= html_head_base
%body.home
#wrap
- #masthead.large
- = render 'layouts/masthead_large'
+ #masthead
+ = render 'layouts/masthead'
#main
= yield :content
#footer