</%def>
## XXX support user emails, oops
-<%def name="avatar(user)">\
+<%def name="avatar(user, size=96)">\
<%! import hashlib %>\
-<img src="http://www.gravatar.com/avatar/${hashlib.md5(str(user.id)).hexdigest()}?r=x&s=96&d=identicon">\
+<img src="http://www.gravatar.com/avatar/${hashlib.md5(str(user.id)).hexdigest()}?r=x&s=${size}&d=identicon" alt="${user.name}'s avatar" title="${user.name}">\
</%def>