Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
alecritson committed Oct 23, 2014
1 parent aa85f7a commit bb642a6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,17 @@ You can catch when there are no results just like you would in an entries loop:

{{ placid url=“http://www.dustysquirrels.com/noapi” }}
{{ if no_results }}
No results
No results
{{ else }}
Squirrels!
Squirrels!
{{ endif }}
{{ /placid }}

### Parameters
**URL**: The URL to request
**refresh** (number): The time in seconds until the cache refreshes (default is 7200 / 2 hours)
**handle** (string) : The handle specified in the placid config
**cache** (boolean) : Whether you want the request to be cached (default is true)
- **URL**: The URL to request
- **refresh** (number): The time in seconds until the cache refreshes (default is 7200 / 2 hours)
- **handle** (string) : The handle specified in the placid config
- **cache** (boolean) : Whether you want the request to be cached (default is true)

### Config file
You can set up requests for placid in **_config/add-ons/placid.yaml** like so:
Expand Down

0 comments on commit bb642a6

Please sign in to comment.