From 42251dddcadd8ff23f30b128f1f468b18c0adf92 Mon Sep 17 00:00:00 2001 From: B Mathis Date: Wed, 10 Mar 2010 13:59:18 -0600 Subject: improved layout flexibility --- source/_includes/footer.haml | 2 +- source/_includes/header.haml | 7 ++++--- source/_includes/navigation.haml | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) (limited to 'source/_includes') diff --git a/source/_includes/footer.haml b/source/_includes/footer.haml index 3385617d..99870db8 100644 --- a/source/_includes/footer.haml +++ b/source/_includes/footer.haml @@ -1,5 +1,5 @@ #footer - .page_width + .content Copyright © #{Time.now.strftime('%Y')} - #{page.blog_title} - %span.credit Powered by Octopress 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}") diff --git a/source/_includes/navigation.haml b/source/_includes/navigation.haml index 4b273fcf..8ee0bfe9 100644 --- a/source/_includes/navigation.haml +++ b/source/_includes/navigation.haml @@ -1,4 +1,4 @@ -.page_width +.content %ul %li.alpha %a(href="/") Blog -- cgit v1.2.1