Skip to content

Commit

Permalink
update doc and capture with variadic filters
Browse files Browse the repository at this point in the history
  • Loading branch information
nliautaud committed Nov 6, 2017
1 parent ade58b7 commit 640b18d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,14 @@ Use the leading slath to target index pages or not.

```twig
pages | exclude('sub/dir/') // exclude the page located under "sub/dir/", but not "sub/dir" (index)
pages | exclude('sub/dir') // exclude "sub/dir" (index) and pages located under "sub/dir/"
pages | exclude('sub/dir') // exclude "sub/dir" (index) and pages located under "sub/dir/"
```

You can specify multiple paths at once by using an array or a comma-separated string.
You can specify multiple paths at once by using multiple arguments.

```twig
exclude('sub/dir,page')
exclude(['sub/dir', 'page'])
exclude('sub/dir', 'page')
only('sub/dir', 'page')
```

### Styling
Expand Down
Binary file modified examples/capture.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 640b18d

Please sign in to comment.