Skip to content
This repository has been archived by the owner on Apr 11, 2018. It is now read-only.

Commit

Permalink
add usage example to filters docs
Browse files Browse the repository at this point in the history
  • Loading branch information
paularmstrong committed Oct 2, 2011
1 parent 6df3fe5 commit 223256b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/filters.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

Used to modify variables. Filters are added directly after variable names, separated by the pipe (|) character. You can chain multiple filters together, applying one after the other in succession.

## Example

{{ name|title }} was born on {{ birthday|date('F jS, Y') }} and has {{ bikes|length|default("zero") }} bikes.

## Built-In Filters

### add(value)
Expand Down

0 comments on commit 223256b

Please sign in to comment.