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:
cel
2018-08-17 15:32:02 -07:00
parent 0b8dc29802
commit ba6d7cd3ab
+2 -1
View File
@@ -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)
); );
} }
} }