Trying to understand how various lists are generated

These are the basic lists:

  1. .Site.Pages = all pages in a site, including the list pages (i.e. home, taxonomies lists etc.)
  2. .Site.RegularPages = all the leaf nodes (i.e. pages with no children)
  3. .Data.Pages or .Pages (both are the same, aliased) is the list pages’ children. For the home page the .Pages will be .Site.Pages without itself.

If you need to filter these, then the where func is your friend.

1 Like