aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
authorCathrine Paulsen <[email protected]>2022-04-05 07:41:24 +0000
committerGitHub <[email protected]>2022-04-05 09:41:24 +0200
commitda00e7714e0233d5cba73bc3c4cf7331304ccb20 (patch)
tree65609a1e27b98a5a5cc02426ef1c6ec4955c7265 /docs
parented9aa374dd5e18fbfb207a0a10cde2362061c8ca (diff)
downloadhugo-da00e7714e0233d5cba73bc3c4cf7331304ccb20.tar.gz
hugo-da00e7714e0233d5cba73bc3c4cf7331304ccb20.zip
Add environment as a new filter to _cascade.target
Fixes #9612
Diffstat (limited to 'docs')
-rw-r--r--docs/content/en/content-management/front-matter.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/content/en/content-management/front-matter.md b/docs/content/en/content-management/front-matter.md
index 6986f067f..cac4ef952 100644
--- a/docs/content/en/content-management/front-matter.md
+++ b/docs/content/en/content-management/front-matter.md
@@ -189,6 +189,9 @@ kind
lang
: A Glob pattern matching the Page's language, e.g. "{en,sv}".
+environment
+: A Glob pattern matching the build environment, e.g. "{production,development}"
+
Any of the above can be omitted.
### Example