aboutsummaryrefslogtreecommitdiff
path: root/.themes/classic/source/javascripts/octopress.js
diff options
context:
space:
mode:
authorFrederic Hemberger <mail@frederic-hemberger.de>2011-09-26 14:19:47 +0200
committerFrederic Hemberger <mail@frederic-hemberger.de>2011-09-26 14:19:47 +0200
commit40a7809d654b91fd6cf5cba6a4102b1067bb33f8 (patch)
tree7965bc0b97a1cb46d26d1c46c76a9de3f8c709b0 /.themes/classic/source/javascripts/octopress.js
parent167db49940a7c7c8269232600c12ae6757ac4080 (diff)
downloadmy_new_personal_website-40a7809d654b91fd6cf5cba6a4102b1067bb33f8.tar.xz
my_new_personal_website-40a7809d654b91fd6cf5cba6a4102b1067bb33f8.zip
Fixes delicious integration #179
Diffstat (limited to '.themes/classic/source/javascripts/octopress.js')
-rw-r--r--.themes/classic/source/javascripts/octopress.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/.themes/classic/source/javascripts/octopress.js b/.themes/classic/source/javascripts/octopress.js
index fc679f11..35174fd8 100644
--- a/.themes/classic/source/javascripts/octopress.js
+++ b/.themes/classic/source/javascripts/octopress.js
@@ -104,6 +104,15 @@ function wrapFlashVideos() {
});
}
+function renderDeliciousLinks(items) {
+ var output = "<ul>";
+ for (var i=0,l=items.length; i<l; i++) {
+ output += '<li><a href="' + items[i].u + '" title="Tags: ' + items[i].t.join(', ') + '">' + items[i].d + '</a></li>';
+ }
+ output += "</ul>";
+ $('#delicious').html(output);
+}
+
$.domReady(function() {
testFeatures();
wrapFlashVideos();