diff options
author | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2019-01-26 15:02:43 -1000 |
---|---|---|
committer | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2019-01-28 19:55:19 -1000 |
commit | f002fac331c79baff7fde57899d76be0410ffe10 (patch) | |
tree | 1bed964873e117277843101c5dfaf57aca2a889d /README.md | |
parent | 05865706da36f4f3f7c2d03df4065ffdd9911a69 (diff) | |
download | patchfoo-f002fac331c79baff7fde57899d76be0410ffe10.tar.gz patchfoo-f002fac331c79baff7fde57899d76be0410ffe10.zip |
Add /script route
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -101,7 +101,9 @@ To make config options persistent, set them in `~/.ssb/config`, e.g.: "emojis", "self", "searchbox" - ] + ], + "dir": "patchfoo", + "scriptDir": "script" } } ``` @@ -123,6 +125,8 @@ To make config options persistent, set them in `~/.ssb/config`, e.g.: - `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. +- `dir`: name of directory in `~/.ssb/` to use for patchfoo things. default: `"patchfoo"`. +- `scriptDir: name of directory in patchfoo's directory (as set by `patchfoo.dir` config option above) to use for user scripts. default: `"script"`. ## TODO |