aboutsummaryrefslogtreecommitdiff
path: root/source/_layouts
diff options
context:
space:
mode:
authorB Mathis <brandon@imathis.com>2009-10-18 20:10:45 -0500
committerB Mathis <brandon@imathis.com>2009-10-18 20:10:45 -0500
commitd8d51719fb2ec7cb2ee70dab4665c74baa0fb783 (patch)
tree1a3ba6a62eaa3c0d5b3bc8d5bcf5447ecd9335ec /source/_layouts
parent82d0251da120186c27791b7c073aa103d73c2b31 (diff)
downloadmy_new_personal_website-d8d51719fb2ec7cb2ee70dab4665c74baa0fb783.tar.xz
my_new_personal_website-d8d51719fb2ec7cb2ee70dab4665c74baa0fb783.zip
added compass, added some basic stylesheets
Diffstat (limited to 'source/_layouts')
-rw-r--r--source/_layouts/default.haml7
-rw-r--r--source/_layouts/post.haml7
2 files changed, 11 insertions, 3 deletions
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