Don't show name of publicWebHosting:false feed
All their other info is hidden, so hide the name in the title too.
This commit is contained in:
@@ -113,9 +113,10 @@ exports.init = function (sbot, config) {
|
|||||||
renderRssItem(defaultOpts), wrapRss(about.name, defaultOpts)
|
renderRssItem(defaultOpts), wrapRss(about.name, defaultOpts)
|
||||||
);
|
);
|
||||||
default:
|
default:
|
||||||
|
var name = about.publicWebHosting === false ? feedId.substr(0, 10) + '…' : about.name
|
||||||
return pull(
|
return pull(
|
||||||
renderAbout(defaultOpts, about,
|
renderAbout(defaultOpts, about,
|
||||||
renderShowAll(showAll, req.url)), wrapPage(about.name)
|
renderShowAll(showAll, req.url)), wrapPage(name)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user