index.jsView |
---|
168 | 168 | var ssb, reconnect, myId, getRepo, getVotes, getMsg |
169 | 169 | var about = function (id, cb) { cb(null, {name: id}) } |
170 | 170 | var reqQueue = [] |
171 | 171 | var isPublic = opts.public |
| 172 | + var ssbAppname = opts.appname || 'ssb' |
172 | 173 | |
173 | 174 | var addr = parseAddr(opts.listenAddr, {host: 'localhost', port: 7718}) |
174 | 175 | http.createServer(onRequest).listen(addr.port, addr.host, onListening) |
175 | 176 | |
321 | 322 | '<link rel=stylesheet href="/styles.css"/>', |
322 | 323 | '</head>\n', |
323 | 324 | '<body>', |
324 | 325 | '<header>', |
325 | | - '<h1><a href="/">git ssb</a></h1>', |
| 326 | + '<h1><a href="/">git ssb</a>' + |
| 327 | + (ssbAppname != 'ssb' ? ' <sub>' + ssbAppname + '</sub>' : '') + |
| 328 | + '</h1>', |
326 | 329 | '</header>', |
327 | 330 | '<article>']), |
328 | 331 | renderTry(read), |
329 | 332 | pull.once('</article></body></html>') |