aboutsummaryrefslogtreecommitdiff
path: root/source/_includes/header.haml
diff options
context:
space:
mode:
authorB Mathis <brandon@imathis.com>2010-03-10 13:59:18 -0600
committerB Mathis <brandon@imathis.com>2010-03-10 13:59:18 -0600
commit42251dddcadd8ff23f30b128f1f468b18c0adf92 (patch)
tree75054c19ce07613f9597b4e5496d8b79c222634a /source/_includes/header.haml
parent33bca7246e9f5c3b61712e44665386821acdf4b6 (diff)
downloadmy_new_personal_website-42251dddcadd8ff23f30b128f1f468b18c0adf92.tar.xz
my_new_personal_website-42251dddcadd8ff23f30b128f1f468b18c0adf92.zip
improved layout flexibility
Diffstat (limited to 'source/_includes/header.haml')
-rw-r--r--source/_includes/header.haml7
1 files changed, 4 insertions, 3 deletions
diff --git a/source/_includes/header.haml b/source/_includes/header.haml
index ce1d054a..f4b821f9 100644
--- a/source/_includes/header.haml
+++ b/source/_includes/header.haml
@@ -1,6 +1,7 @@
-.page_width
- %a.title(href="/")=page.blog_title
- - if page.respond_to? :google_custom_search_id
+.content
+ %h1
+ %a.title(href="/")=page.blog_title
+ - if page.respond_to?(:google_custom_search_id) && page.google_custom_search_id
#search
%form(action="http://www.google.com/cse" id="cse-search-box")
%input(type="hidden" name="cx" value="#{page.google_custom_search_id}")