New helper that combines all the functionality of the 2 current helpers we have for customizing preload based on sitemaps.
The first 3 configs allow users to specify whether to add sitemaps to Preload, or to use only the specified ones, specify whether to also preload pages not in the listed sitemaps or not, and to choose the order to preload pages in (by last modified or order they appear in sitemaps).
The last config is where the sites and associated sitemaps are added.
An added functionality is that this helper will also work for multisite setups. For single sites, just use one block. For multisite, copy and paste as many new blocks as needed and customize for each subsite.
Description
Fixes #89
New helper that combines all the functionality of the 2 current helpers we have for customizing preload based on sitemaps.
The first 3 configs allow users to specify whether to add sitemaps to Preload, or to use only the specified ones, specify whether to also preload pages not in the listed sitemaps or not, and to choose the order to preload pages in (by last modified or order they appear in sitemaps).
The last config is where the sites and associated sitemaps are added.
An added functionality is that this helper will also work for multisite setups. For single sites, just use one block. For multisite, copy and paste as many new blocks as needed and customize for each subsite.