add example of configuration

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2019-08-06 15:08:31 -04:00
parent 86afe42320
commit 25854cc6e8
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
1 changed files with 13 additions and 1 deletions

View File

@ -13,10 +13,22 @@ The whole scrip is [`go_vanity.js`](go_vanity.js) which simply generates some ba
<meta name="go-import" content="go.status.im/whisper git https://github.com/status-im/whisper ">
```
# Configuration
Just edit the `PACKAGES` variable in [`go_vanity.js`](go_vanity.js):
```javascript
const PACKAGES = {
'go.status.im/something': 'https://github.com/status-im/status-something', /* added */
'go.status.im/protocol': 'https://github.com/status-im/status-protocol-go',
'go.status.im/status': 'https://github.com/status-im/status-go',
'go.status.im/whisper': 'https://github.com/status-im/whisper ',
}
```
# Todo
* Make the page more fancy?
* Maybe use a tempalting engine like a civilized human being
* Maybe use a templating engine like a civilized human being
# Links