diff options
author | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2019-01-28 19:31:32 -1000 |
---|---|---|
committer | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2019-01-28 19:53:31 -1000 |
commit | 05865706da36f4f3f7c2d03df4065ffdd9911a69 (patch) | |
tree | 60cc30fcd23813d1a653cc5e1a4db1f275b3aee0 /lib/app.js | |
parent | 932500d6d44c7aba8f2f1eb077365ed0ee504d2c (diff) | |
download | patchfoo-05865706da36f4f3f7c2d03df4065ffdd9911a69.tar.gz patchfoo-05865706da36f4f3f7c2d03df4065ffdd9911a69.zip |
Make nav links configurable
Diffstat (limited to 'lib/app.js')
-rw-r--r-- | lib/app.js | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -79,6 +79,23 @@ function App(sbot, config) { this.serveSsbNpmRegistry = SsbNpmRegistry.respond(this.sbot, this.config) this.monitorBlobWants() + this.navLinks = conf.nav || [ + 'new', + 'public', + 'private', + 'mentions', + 'peers', + this.sbot.status && 'status', + 'channels', + 'tags', + 'friends', + 'search', + 'live', + 'compose', + 'emojis', + 'self', + 'searchbox' + ] } App.prototype.go = function () { |