From 7e553d11b895e293b2c49c7a5d96da24c53ab015 Mon Sep 17 00:00:00 2001 From: Carlin MacKenzie Date: Wed, 5 Apr 2023 08:53:07 -0400 Subject: [PATCH] Add example It isn't clear from the docs currently how to use this feature --- content/en/hugo-modules/configuration.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/content/en/hugo-modules/configuration.md b/content/en/hugo-modules/configuration.md index 3faaced8e..9e6fec061 100644 --- a/content/en/hugo-modules/configuration.md +++ b/content/en/hugo-modules/configuration.md @@ -163,3 +163,12 @@ The search is case-insensitive. excludeFiles (string or slice) : One or more glob patterns matching files to exclude. + +**Example** +{{< code-toggle file="config">}} +[module] +[[module.mounts]] + source="content" + target="content" + excludeFiles="docs/*" +{{< /code-toggle >}}