RobinThrift / metalsmith-paginate

A simple plugin that uses metalsmith-collections to create a paginated collection
MIT License
13 stars 5 forks source link

Added support for more flexible page naming #5

Open misterdai opened 10 years ago

misterdai commented 10 years ago

Added check for the path option containing a %d, if found this is replaced with the page number. Example: path = '/blog/%d/index' ends up as '/blog/5/index.html', allowing /blog/5/ as the URL).