Site updated at 2014-12-19 08:20:58 UTC

This commit is contained in:
Paulus Schoutsen 2014-12-19 00:20:58 -08:00 committed by Fabian Affolter
parent 6ad00c81bb
commit 24eae38ac1
No known key found for this signature in database
GPG key ID: DDF3D6F44AAB1336
79 changed files with 2830 additions and 1 deletions

16
javascripts/octopress.js Normal file
View file

@ -0,0 +1,16 @@
function renderDeliciousLinks(items) {
var output = '<ul class="divided">';
for (var i=0,l=items.length; i<l; i++) {
output += '<li><a href="' + items[i].u + '" title="Tags: ' + (items[i].t == "" ? "" : items[i].t.join(', ')) + '">' + items[i].d + '</a></li>';
}
output += '</ul>';
$('#delicious').html(output);
}
jQuery(function(){
var gravatarImage = jQuery('img.gravatar'),
email = jQuery(gravatarImage).data('gravatar');
if (email) {
jQuery(gravatarImage).attr({src: "http://www.gravatar.com/avatar/" + CryptoJS.MD5(email) + "?s=250"}).removeAttr('data-gravatar');
};
});