Fix some errors in template
Set custom pages list

Using a custom page list provider.