Skip to content

Instantly share code, notes, and snippets.

@scripting
Last active November 1, 2016 15:55
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scripting/b03106f660111ac7d987 to your computer and use it in GitHub Desktop.
Save scripting/b03106f660111ac7d987 to your computer and use it in GitHub Desktop.
An example config.json file that specifies a set of panels on your River5 installation's home page.
{
"maxRiverItems": 300,
"flAddItemsFromNewSubs": false,
"homePage": {
"panels": [
{
"title": "Dave",
"river": "iowa.js"
},
{
"title": "NYT",
"river": "nytRiver.js"
},
{
"title": "WP",
"river": "washpost.js"
},
{
"title": "Guard",
"river": "guardian.js"
},
{
"title": "Podcasts",
"river": "podcasts.js"
},
{
"title": "NBA",
"river": "nba.js"
},
{
"title": "MLB",
"river": "mlb.js"
},
{
"title": "Movies",
"river": "movies.js"
},
{
"title": "Tech",
"river": "techblast.js"
}
]
}
}
@scripting
Copy link
Author

This example is used in documenting the configuration options for River5.

https://github.com/scripting/river5/blob/master/docs/CONFIG.md

Dave

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment