From ba6d7cd3abf79e5283853b32cbebf218dae8c981 Mon Sep 17 00:00:00 2001 From: cel Date: Fri, 17 Aug 2018 15:27:10 -0700 Subject: [PATCH] Don't show name of publicWebHosting:false feed All their other info is hidden, so hide the name in the title too. --- index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 04a99dd..9e9ad07 100644 --- a/index.js +++ b/index.js @@ -113,9 +113,10 @@ exports.init = function (sbot, config) { renderRssItem(defaultOpts), wrapRss(about.name, defaultOpts) ); default: + var name = about.publicWebHosting === false ? feedId.substr(0, 10) + '…' : about.name return pull( renderAbout(defaultOpts, about, - renderShowAll(showAll, req.url)), wrapPage(about.name) + renderShowAll(showAll, req.url)), wrapPage(name) ); } }