From d8d51719fb2ec7cb2ee70dab4665c74baa0fb783 Mon Sep 17 00:00:00 2001 From: B Mathis Date: Sun, 18 Oct 2009 20:10:45 -0500 Subject: added compass, added some basic stylesheets --- source/_layouts/default.haml | 7 +++++-- source/_layouts/post.haml | 7 ++++++- 2 files changed, 11 insertions(+), 3 deletions(-) (limited to 'source/_layouts') diff --git a/source/_layouts/default.haml b/source/_layouts/default.haml index 43dae4f4..cec53767 100644 --- a/source/_layouts/default.haml +++ b/source/_layouts/default.haml @@ -6,13 +6,16 @@ %meta{:name=>"description", :content=>page.description}/ - if page.respond_to? :keywords %meta{:name=>"keywords", :content=>page.keywords}/ + %link{:href=>"/stylesheets/screen.css", :rel=>"stylesheet", :media=>"screen, projection", :type=>"text/css"} %body #header .page_width - %a.title(href="/")Blog + %a.title(href="/") My Blog %ul#header_nav.nav %li.alpha - %a(href="/") Home + %a(href="/archives") Archives + %li.omega + %a(href="/atom.xml") Subscribe #page .page_width = content diff --git a/source/_layouts/post.haml b/source/_layouts/post.haml index 42ccde45..4accb535 100644 --- a/source/_layouts/post.haml +++ b/source/_layouts/post.haml @@ -6,15 +6,20 @@ %meta{:name=>"description", :content=>page.description}/ - if page.respond_to? :keywords %meta{:name=>"keywords", :content=>page.keywords}/ + %link{:href=>"/stylesheets/screen.css", :rel=>"stylesheet", :media=>"screen, projection", :type=>"text/css"} %body #header .page_width - %a.title(href="/")Page Title + %a.title(href="/")My Blog %ul#header_nav.nav %li.alpha %a(href="/") Home #page .page_width + %h2= rp(page.title) = content + %p.pubdate + Published: + =page.date.strftime("%d %b, %Y") #footer .page_width Footer \ No newline at end of file -- cgit v1.2.1