Allow showing thumbnails for reddit posts
This commit is contained in:
parent
25d45b309d
commit
eb85a7656f
6 changed files with 60 additions and 8 deletions
|
|
@ -15,6 +15,7 @@ type HackerNews struct {
|
|||
Limit int `yaml:"limit"`
|
||||
CollapseAfter int `yaml:"collapse-after"`
|
||||
CommentsUrlTemplate string `yaml:"comments-url-template"`
|
||||
Thumbnails bool `yaml:"-"`
|
||||
}
|
||||
|
||||
func (widget *HackerNews) Initialize() error {
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ type Reddit struct {
|
|||
Posts feed.ForumPosts `yaml:"-"`
|
||||
Subreddit string `yaml:"subreddit"`
|
||||
Style string `yaml:"style"`
|
||||
Thumbnails bool `yaml:"thumbnails"`
|
||||
CommentsUrlTemplate string `yaml:"comments-url-template"`
|
||||
Limit int `yaml:"limit"`
|
||||
CollapseAfter int `yaml:"collapse-after"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue