Update README.md

This commit is contained in:
Kukielka58 2017-02-20 15:05:48 +01:00 committed by GitHub
parent 040c7123bf
commit 178ad33395

View File

@ -1,6 +1,6 @@
# simple-homepage
An even simpler Homepage.
An even simpler, fully responsive Homepage. Ideal for Desktop and mobile usage!
Based on: https://github.com/thetomester13/homepage
This project uses:
@ -23,4 +23,4 @@ Copy the config.sample.json file and rename to config.json. Be sure to update th
### Custom Background Images
- 'custom_url' => Input a custom URL that will return proper JSON
- 'custom_url_headers' => Add any headers that may be needed to complete a cURL request to the aforementioned URL properly
- 'custom_url_selector' => Input a proper PHP array selector to be used on the JSON received above. For example, if I were to fetch from Github's user API with a 'custom_url' of 'https://api.github.com/users/octocat', the 'custom_url_selector' would simply be "['avatar_url']". [{random}] can be replaced for a random index in an array.
- 'custom_url_selector' => Input a proper PHP array selector to be used on the JSON received above. For example, if I were to fetch from Github's user API with a 'custom_url' of 'https://api.github.com/users/octocat', the 'custom_url_selector' would simply be "['avatar_url']". [{random}] can be replaced for a random index in an array.