$site->index()
Creates a flat child index
Parameters
Name | Type | Default |
---|---|---|
$drafts | bool |
false |
Return type
Parent class
Details
$site->index()
reads the entire folder structure including all files. Especially on large sites with many files, using $site->index()
can result in big performance issues, so use with caution.