diff options
author | elijah <elijah@riseup.net> | 2014-08-12 17:10:28 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2014-08-12 17:10:28 -0700 |
commit | 1ba4373f2e2d732b2de00e0da4c41099422ac3c8 (patch) | |
tree | 2a5bc1cfb299e567ed83ce4e2e99631d162e4987 /amber | |
parent | dfb4ed7419125d87c99994251ce808e7f0e7b670 (diff) |
nice scaling masthead
Diffstat (limited to 'amber')
-rw-r--r-- | amber/layouts/_masthead.html.haml | 4 | ||||
-rw-r--r-- | amber/layouts/home.html.haml | 4 | ||||
-rw-r--r-- | amber/locales/en.yml | 2 |
3 files changed, 5 insertions, 5 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>', ' <br> ') %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 diff --git a/amber/locales/en.yml b/amber/locales/en.yml index 962d948..74c0a7e 100644 --- a/amber/locales/en.yml +++ b/amber/locales/en.yml @@ -2,7 +2,7 @@ en: site_title: "Bitmask Help" banner_top: "Bitmask" banner_bottom: "Help" - banner_motto: "Encrypted communication for mere mortals<br>(superheroes welcome, too)." + banner_motto: "Encrypted communication for mere mortals<br>(superheroes welcome, too)" contribute_to_help: 'Contribute to these help pages' download_bitmask: 'Download Bitmask' downloads: Downloads |