$pages->template() Filter all pages by the given template kirby/src/Cms/Pages.php#L530 $pages->template(string|array $templates): Kirby\Cms\Pages Parameters Name Type Default $templates * string|array – Return type Kirby\Cms\Pages Parent class Kirby\Cms\Pages