diff options
Diffstat (limited to 'lib/about.js')
-rw-r--r-- | lib/about.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/about.js b/lib/about.js index 29ec125..e1c6b40 100644 --- a/lib/about.js +++ b/lib/about.js @@ -100,8 +100,12 @@ About.prototype.get = function (dest, cb) { var about = aboutByFeed[author] || (aboutByFeed[author] = {}) if (c.name) about.name = c.name if (c.title) about.title = c.title - if (c.image) about.image = u.linkDest(c.image) + if (c.image) { + about.image = u.linkDest(c.image) + about.imageLink = u.toLink(c.image) + } if (c.description) about.description = c.description + if (c.publicWebHosting) about.publicWebHosting = c.publicWebHosting }, function (err) { if (err) return cb(err) // bias the author's choices by giving them an extra vote |