This copies the theme-defined approach for grouping by year (which is
present in the template as conditional, although it could probably be
removed) and applies it to grouping by page type (ie. projects,
publications, sites). A similar approach, albeit without pagination,
has been applied to our custom term layout in 2578d55.
- Default sorting order for page groups is alphabetical:
projects - publications - sites.
- Default pagination size is likely 10. To see pagination in action,
reduce pagination size by setting an argument to `.Paginate` and
look at a Contributor with the most linked pages.
- Pagination applies to the whole list of items, and IMO behaves
sensibly: if a break happens within a group, Hugo repeats its
header in the next page.
Given the increasing number of contributor-related contents being
added to the website (e.g., soon there will be publications) both
grouping and pagination seem to be useful additions.