retro default, better size for xs

This commit is contained in:
Daniel Mills
2014-02-03 18:03:12 -05:00
parent f5ecfc507c
commit 85c3e8e83b
2 changed files with 3 additions and 3 deletions

View File

@ -52,7 +52,7 @@ userSchema.methods.comparePassword = function(candidatePassword, cb) {
userSchema.methods.gravatar = function() {
var md5 = crypto.createHash('md5');
md5.update(this.email);
return 'https://gravatar.com/avatar/' + md5.digest('hex').toString() + '?s=200';
return 'https://gravatar.com/avatar/' + md5.digest('hex').toString() + '?s=200&d=retro';
};
module.exports = mongoose.model('User', userSchema);

View File

@ -5,8 +5,8 @@ block content
h3 Profile Information
form.form-horizontal(action='/account/profile', method='POST')
.row
.col-xs-2
img(src="#{user.gravatar()}")
.col-md-2.col-xs-4
img(src="#{user.gravatar()}", class='profile')
small Change your photo at
a(href="http://gravatar.com") Gravatar
.col-xs-10