aboutsummaryrefslogtreecommitdiff
path: root/source/_layouts/default.haml
diff options
context:
space:
mode:
authorB Mathis <brandon@imathis.com>2009-11-14 13:08:19 -0600
committerB Mathis <brandon@imathis.com>2009-11-14 13:08:19 -0600
commitbdc66eabdfca4ae623ec359cd7751d60fbffc06e (patch)
treeeac3ee414a36b8aef1be3df7379067bfce719c4a /source/_layouts/default.haml
parentfe3590beae286efa61633294d7fc407d34759551 (diff)
downloadmy_new_personal_website-bdc66eabdfca4ae623ec359cd7751d60fbffc06e.tar.xz
my_new_personal_website-bdc66eabdfca4ae623ec359cd7751d60fbffc06e.zip
reorganized stylesheets
Diffstat (limited to '')
-rw-r--r--source/_layouts/default.haml14
1 files changed, 8 insertions, 6 deletions
diff --git a/source/_layouts/default.haml b/source/_layouts/default.haml
index 10e9315e..4da11a13 100644
--- a/source/_layouts/default.haml
+++ b/source/_layouts/default.haml
@@ -37,7 +37,7 @@ google_analytics: true
%script(src="/javascripts/twitter.js" type="text/javascript")
- if page.respond_to? :google_analytics
%script(src="http://www.google-analytics.com/ga.js" type="text/javascript")
- %body
+ %body(id="#{(page.respond_to?(:body_id) ? page.body_id : nil)}")
#header
.page_width
%a.title(href="/")=page.blog_title
@@ -60,11 +60,13 @@ google_analytics: true
.page_width
#main
- if page.respond_to? :date
- %h2= page.title
- = preserve rp(content)
- %p.pubdate
- Published:
- =page.date.strftime("%d %b, %Y")
+ .blog
+ .article
+ %h2= page.title
+ = preserve rp(content)
+ %p.pubdate
+ Published:
+ =page.date.strftime("%d %b, %Y")
- if page.respond_to? :disqus_short_name
#disqus_thread
:javascript