Update configuration.md

This commit is contained in:
Bjørn Erik Pedersen
2022-12-13 17:06:38 +01:00
committed by GitHub
parent b7b8f16b34
commit 56824be2cc
@@ -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`: