aboutsummaryrefslogtreecommitdiff
path: root/.themes/classic/source/javascripts
diff options
context:
space:
mode:
Diffstat (limited to '')
-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();