Skip to content

Commit

Permalink
Update configuration.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bep committed Dec 13, 2022
1 parent b7b8f16 commit 56824be
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions content/en/getting-started/configuration.md
Expand Up @@ -645,6 +645,8 @@ Test and document setting params via JSON env var.

## Ignore Content and Data Files when Rendering

**Note:** This works, but we recommend you use the newer and more powerful [includeFiles and excludeFiles](https://gohugo.io/hugo-modules/configuration/#module-config-mounts) mount options.

To exclude specific files from the `content` and `data` directories when rendering your site, set `ignoreFiles` to one or more regular expressions to match against the absolute file path.

To ignore files ending with `.foo` or `.boo`:
Expand Down

0 comments on commit 56824be

Please sign in to comment.