use the provider to set the single page mode in readme