git ssb

9+

cel / ssb-viewer



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.jschanged
index.jsView
@@ -112,11 +112,12 @@
112112 // formatMsgs(feedId, ext, defaultOpts)
113113 renderRssItem(defaultOpts), wrapRss(about.name, defaultOpts)
114114 );
115115 default:
116 + var name = about.publicWebHosting === false ? feedId.substr(0, 10) + '…' : about.name
116117 return pull(
117118 renderAbout(defaultOpts, about,
118- renderShowAll(showAll, req.url)), wrapPage(about.name)
119 + renderShowAll(showAll, req.url)), wrapPage(name)
119120 );
120121 }
121122 }
122123

Built with git-ssb-web