| 1 |
--- |
| 2 |
title: sites matrix |
| 3 |
--- |
| 4 |
|
| 5 |
A _sites matrix_ is a configuration object defined in content front matter or a file mount to precisely control which [_sites_](g) the content should be generated for. When defined in a file mount for templates, it controls which sites the template will be applied to. In Hugo multidimensional content model, the matrix defines the intersection of three dimensions: [_language_](g), [_role_](g), and [_version_](g). The configuration is structured as a map of [_glob slices_](g). |
| 6 |
|
| 7 |
See also [_sites complements_](g), [front matter: sites][], [module mounts: sites][], and [segments: sites][]. |
| 8 |
|
| 9 |
[front matter: sites]: /content-management/front-matter/#sites |
| 10 |
[module mounts: sites]: /configuration/module/#sites |
| 11 |
[segments: sites]: /configuration/segments/#sites |