mirror of
https://github.com/Lissy93/dashy.git
synced 2024-11-24 05:56:49 +03:00
📝 document post size option in HN widget
This commit is contained in:
parent
2d77a155d5
commit
040b472a05
@ -1187,6 +1187,7 @@ Display new and trending Posts from Hackernews
|
|||||||
**Field** | **Type** | **Required** | **Description**
|
**Field** | **Type** | **Required** | **Description**
|
||||||
--- | --- | --- | ---
|
--- | --- | --- | ---
|
||||||
**`stories`** | `string` | _Optional_ | HN Stories to display defaults to `topstories`. Options are: `beststories`, `topstories` or `newstories`
|
**`stories`** | `string` | _Optional_ | HN Stories to display defaults to `topstories`. Options are: `beststories`, `topstories` or `newstories`
|
||||||
|
**`limit`** | `int` | _Optional_ | The size of the list of Posts to show.
|
||||||
|
|
||||||
##### Example
|
##### Example
|
||||||
|
|
||||||
@ -1194,6 +1195,7 @@ Display new and trending Posts from Hackernews
|
|||||||
- type: hackernews-trending
|
- type: hackernews-trending
|
||||||
options:
|
options:
|
||||||
stories: newstories
|
stories: newstories
|
||||||
|
limit: 10
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
Loading…
Reference in New Issue
Block a user