From fd32bcaba026d0e31b3396eb31450b8ac7a15242 Mon Sep 17 00:00:00 2001 From: B Mathis Date: Tue, 20 Oct 2009 09:08:12 -0500 Subject: [PATCH] added auto generated copyright to footer as well as credit for Jekyll and Octopress --- source/_layouts/default.haml | 4 +++- source/stylesheets/partials/main/_layout.sass | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/source/_layouts/default.haml b/source/_layouts/default.haml index a3f4431..b32b026 100644 --- a/source/_layouts/default.haml +++ b/source/_layouts/default.haml @@ -33,4 +33,6 @@ root_url: - else = content #footer - .page_width Footer \ No newline at end of file + .page_width + = "Copyright © #{Time.now.strftime('%Y')} - #{page.blog_title} | " + %span.credit Powered by Jekyll & Octopress \ No newline at end of file diff --git a/source/stylesheets/partials/main/_layout.sass b/source/stylesheets/partials/main/_layout.sass index dfc937a..5ad0250 100644 --- a/source/stylesheets/partials/main/_layout.sass +++ b/source/stylesheets/partials/main/_layout.sass @@ -36,6 +36,8 @@ html body background-color= !page_bg border-top= "1px solid" !page_border padding: 25px 0 + .page_width + background-color= !page_bg #subnav +clearfix