From 7570f001cc8ddeff88ebdab640e06a0b1b03974c Mon Sep 17 00:00:00 2001 From: cel Date: Thu, 4 May 2017 11:03:16 -1000 Subject: wip: about --- lib/render.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/render.js') diff --git a/lib/render.js b/lib/render.js index 316ad2f..bc4ce5b 100644 --- a/lib/render.js +++ b/lib/render.js @@ -183,7 +183,7 @@ Render.prototype.prepareLink = function (link, cb) { if (link.name || !link.link) cb(null, link) else this.app.getAbout(link.link, function (err, about) { if (err) return cb(null, link) - link.name = about.name || (link.link.substr(0, 8) + '…') + link.name = about.name || about.title || (link.link.substr(0, 8) + '…') if (link.name && link.name[0] === link.link[0]) { link.name = link.name.substr(1) } -- cgit v1.2.3