Currently, page indexing, such as returning "all" pages or "byTag" are automatically added to the template context by the Static Shock pipeline.
Page indexing seems like a well-bounded responsibility. The page index looks at every page, decides what groups each page belongs to, and decides how the template can query pages. There might be a wide variety of indexing use-cases, including the introduction of search. Therefore, I think page indexing should be moved to a plugin.
Currently, page indexing, such as returning "all" pages or "byTag" are automatically added to the template context by the Static Shock pipeline.
Page indexing seems like a well-bounded responsibility. The page index looks at every page, decides what groups each page belongs to, and decides how the template can query pages. There might be a wide variety of indexing use-cases, including the introduction of search. Therefore, I think page indexing should be moved to a plugin.