Browse code

added support for delicious

B Mathis authored on 08/11/2009 at 05:39:02
Showing 2 changed files
... ...
@@ -5,6 +5,8 @@ twitter_user: imathis
5 5
 tweet_count: 3
6 6
 show_replies: false
7 7
 
8
+delicious_user: imathis
9
+
8 10
 full_url: 
9 11
 disqus_short_name: 
10 12
 
... ...
@@ -77,6 +79,10 @@ google_analytics: true
77 77
             #twitter
78 78
               %ul#twitter_status
79 79
                 Status updating...
80
+          - if page.respond_to? :delicious_user
81
+            %h4 My Delicious <a class="small" href="http://delicious.com/#{page.delicious_user}">more &rarr;</a>
82
+            #delicious
83
+              %script(type="text/javascript" src="http://feeds.delicious.com/v2/js/#{page.delicious_user}?title=&count=5&sort=date&extended")
80 84
     #footer
81 85
       .page_width
82 86
         Copyright &copy; #{Time.now.strftime('%Y')} - #{page.blog_title} -
... ...
@@ -1,11 +1,21 @@
1 1
 #sidebar
2 2
   float: left
3 3
   width= !sidebar_width
4
-  padding-top: 10px
5 4
   margin-left= !sidebar_margin
6 5
   
7 6
   h4
8
-    margin: 0
7
+    margin: 20px 0 0
8
+    &:first-child
9
+      margin-top: 10px
9 10
     .small
10 11
       +sans-font
11
-      font-size: 50%
12 12
\ No newline at end of file
13
+      font-size: 50%
14
+
15
+#delicious
16
+  p
17
+    font-style: italic
18
+  li
19
+    font-size: 90%
20
+    color: #666
21
+    font-style: normal
22
+    padding-bottom: 8px
13 23
\ No newline at end of file