Allow specifying a custom lobsters URL or instance
This commit is contained in:
parent
917d51e54b
commit
b327e59ab1
3 changed files with 36 additions and 12 deletions
|
|
@ -573,11 +573,23 @@ Preview:
|
|||
#### Properties
|
||||
| Name | Type | Required | Default |
|
||||
| ---- | ---- | -------- | ------- |
|
||||
| instance-url | string | no | https://lobste.rs/ |
|
||||
| custom-url | string | no | |
|
||||
| limit | integer | no | 15 |
|
||||
| collapse-after | integer | no | 5 |
|
||||
| sort-by | string | no | hot |
|
||||
| tags | array | no | |
|
||||
|
||||
##### `instance-url`
|
||||
The base URL for a lobsters instance hosted somewhere other than on lobste.rs. Example:
|
||||
|
||||
```yaml
|
||||
instance-url: https://www.journalduhacker.net/
|
||||
```
|
||||
|
||||
##### `custom-url`
|
||||
A custom URL to retrieve lobsters posts from. If this is specified, the `instance-url`, `sort-by` and `tags` properties are ignored.
|
||||
|
||||
##### `limit`
|
||||
The maximum number of posts to show.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue