From 3383786fe3cb93d2907d0912a1b05516b91ebb46 Mon Sep 17 00:00:00 2001 From: Joe Mooring Date: Fri, 12 May 2023 11:16:31 -0700 Subject: [PATCH] Add i18n to list of directories affected by ignoreFiles --- content/en/getting-started/configuration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/getting-started/configuration.md b/content/en/getting-started/configuration.md index 8290a1e65..e47d3c942 100644 --- a/content/en/getting-started/configuration.md +++ b/content/en/getting-started/configuration.md @@ -646,7 +646,7 @@ Test and document setting params via JSON env var. **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 exclude specific files from the `content`, `data`, and `i18n` 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`: