Commit ba6d7cd3abf79e5283853b32cbebf218dae8c981
Don't show name of publicWebHosting:false feed
All their other info is hidden, so hide the name in the title too.cel committed on 8/17/2018, 10:32:02 PM
Parent: 0b8dc2980200cda5d0f2b25df1d4b9bf8dda60c8
Files changed
index.js | changed |
index.js | |||
---|---|---|---|
@@ -112,11 +112,12 @@ | |||
112 | 112 … | // formatMsgs(feedId, ext, defaultOpts) | |
113 | 113 … | renderRssItem(defaultOpts), wrapRss(about.name, defaultOpts) | |
114 | 114 … | ); | |
115 | 115 … | default: | |
116 … | + var name = about.publicWebHosting === false ? feedId.substr(0, 10) + '…' : about.name | ||
116 | 117 … | return pull( | |
117 | 118 … | renderAbout(defaultOpts, about, | |
118 | - renderShowAll(showAll, req.url)), wrapPage(about.name) | ||
119 … | + renderShowAll(showAll, req.url)), wrapPage(name) | ||
119 | 120 … | ); | |
120 | 121 … | } | |
121 | 122 … | } | |
122 | 123 … | ||
Built with git-ssb-web