Skip to content

Commit

Permalink
Add some docs for IgnoreFiles
Browse files Browse the repository at this point in the history
  • Loading branch information
bep committed Jun 3, 2015
1 parent bec3f40 commit beaa1b3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/content/overview/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,15 @@ Following is a list of Hugo-defined variables that you can configure and their c
watch: false
---

## Ignore files on build

The following inside `config.toml` will ignore files ending with `.foo` and `.boo` when building with `hugo`.

```
ignoreFiles = [ "\\.foo$", "\\.boo$" ]
```

The above is is a list of Reqular Expressions, but note the escaping of the `\` to make TOML happy.



Expand Down

0 comments on commit beaa1b3

Please sign in to comment.