aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorcel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2019-01-28 19:31:32 -1000
committercel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2019-01-28 19:53:31 -1000
commit05865706da36f4f3f7c2d03df4065ffdd9911a69 (patch)
tree60cc30fcd23813d1a653cc5e1a4db1f275b3aee0 /README.md
parent932500d6d44c7aba8f2f1eb077365ed0ee504d2c (diff)
downloadpatchfoo-05865706da36f4f3f7c2d03df4065ffdd9911a69.tar.gz
patchfoo-05865706da36f4f3f7c2d03df4065ffdd9911a69.zip
Make nav links configurable
Diffstat (limited to 'README.md')
-rw-r--r--README.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/README.md b/README.md
index 335ee58..23a40d5 100644
--- a/README.md
+++ b/README.md
@@ -85,6 +85,23 @@ To make config options persistent, set them in `~/.ssb/config`, e.g.:
"showPrivates": true,
"previewVotes": true,
"ooo": true,
+ "nav": [
+ "new",
+ "public",
+ "private",
+ "mentions",
+ "peers",
+ "status",
+ "channels",
+ "tags",
+ "friends",
+ "search"
+ "live",
+ "compose",
+ "emojis",
+ "self",
+ "searchbox"
+ ]
}
}
```
@@ -105,6 +122,7 @@ To make config options persistent, set them in `~/.ssb/config`, e.g.:
- `previewContacts`: Whether to preview creating contact/(un)follow/block messages (`true`) or publish them immediately (`false`). default: `false`
- `ooo`: if true, use `ssb-ooo` to try to fetch missing messages in threads. also can set per-request with query string `?ooo=1`. default: `false`
`codeInTextareas`: if `true`, render markdown code blocks in textareas. if `false`, render them in `pre` tags. default: `false`
+- `nav`: array of nav links. Each item may be a string, object or special value. Special values are `"searchbox"` and `"self"`, which are the search field box, and link to the current feed id's page, respectively. Any other string is interpretted to be a link to the page of that name prefixed with a forward slash. An object may have properties `name` and `url`, and that will be interpretted as a link with given name and URL (with `toUrl` conversions applied). default is the list in the readme above.
## TODO