From 8cb2f154876a0d3b621bceedd1f73ac79a86cd99 Mon Sep 17 00:00:00 2001 From: B Mathis Date: Sat, 7 Nov 2009 23:39:02 -0600 Subject: [PATCH] added support for delicious --- source/_layouts/default.haml | 6 ++++++ stylesheets/partials/_sidebar.sass | 16 +++++++++++++--- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/source/_layouts/default.haml b/source/_layouts/default.haml index 540ed28..ac686a5 100644 --- a/source/_layouts/default.haml +++ b/source/_layouts/default.haml @@ -5,6 +5,8 @@ twitter_user: imathis tweet_count: 3 show_replies: false +delicious_user: imathis + full_url: disqus_short_name: @@ -77,6 +79,10 @@ google_analytics: true #twitter %ul#twitter_status Status updating... + - if page.respond_to? :delicious_user + %h4 My Delicious more → + #delicious + %script(type="text/javascript" src="http://feeds.delicious.com/v2/js/#{page.delicious_user}?title=&count=5&sort=date&extended") #footer .page_width Copyright © #{Time.now.strftime('%Y')} - #{page.blog_title} - diff --git a/stylesheets/partials/_sidebar.sass b/stylesheets/partials/_sidebar.sass index 919725d..487df59 100644 --- a/stylesheets/partials/_sidebar.sass +++ b/stylesheets/partials/_sidebar.sass @@ -1,11 +1,21 @@ #sidebar float: left width= !sidebar_width - padding-top: 10px margin-left= !sidebar_margin h4 - margin: 0 + margin: 20px 0 0 + &:first-child + margin-top: 10px .small +sans-font - font-size: 50% \ No newline at end of file + font-size: 50% + +#delicious + p + font-style: italic + li + font-size: 90% + color: #666 + font-style: normal + padding-bottom: 8px \ No newline at end of file