Debian Codegraph @

docs/content/en/_common/configuration/page-matcher.md

raw
1 ---
2 _comment: Do not remove front matter.
3 ---
4
5 A _page matcher_ filters pages by logical path, page kind, environment, or site. Specify filtering criteria using any combination of the following keywords.
6
7 `environment`
8 : (`string`) A [glob pattern](g) matching the build [environment](g). For example: `{staging,production}`.
9
10 `kind`
11 : (`string`) A [glob pattern](g) matching the [page kind](g). For example: `{taxonomy,term}`.
12
13 `lang`
14 : {{< deprecated-in 0.153.0 />}}
15 : Use the [`sites`](#sites) setting instead.
16
17 `path`
18 : (`string`) A [glob pattern](g) matching the page's [logical path](g). For example: `{/books,/books/**}`.
19
20 `sites`
21 : {{< new-in 0.153.0 />}}
22 : (`map`) A [sites matrix](g) matching any combination of [content dimensions](g) including language, version, and role.