From cfb593bcb2c4a7b62ed5bdf4a7833adf63428484 Mon Sep 17 00:00:00 2001 From: cel Date: Sat, 25 Aug 2018 22:35:46 -0700 Subject: Add about-self page --- lib/about.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lib/about.js') 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 -- cgit v1.2.3