Use stable metalsmith-pagination
2.0.1