aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB Mathis <brandon@imathis.com>2009-11-07 23:39:02 -0600
committerB Mathis <brandon@imathis.com>2009-11-07 23:39:02 -0600
commit8cb2f154876a0d3b621bceedd1f73ac79a86cd99 (patch)
tree607d7d0ecdf5850effa54e20f05034a1f6fa70a6
parent6b9c3af4b596bb5180214ce634043e55e8d34818 (diff)
downloadmy_new_personal_website-8cb2f154876a0d3b621bceedd1f73ac79a86cd99.tar.xz
my_new_personal_website-8cb2f154876a0d3b621bceedd1f73ac79a86cd99.zip
added support for delicious
Diffstat (limited to '')
-rw-r--r--source/_layouts/default.haml6
-rw-r--r--stylesheets/partials/_sidebar.sass16
2 files changed, 19 insertions, 3 deletions
diff --git a/source/_layouts/default.haml b/source/_layouts/default.haml
index 540ed285..ac686a5b 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 <a class="small" href="http://delicious.com/#{page.delicious_user}">more &rarr;</a>
+ #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 &copy; #{Time.now.strftime('%Y')} - #{page.blog_title} -
diff --git a/stylesheets/partials/_sidebar.sass b/stylesheets/partials/_sidebar.sass
index 919725d7..487df590 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