I just started to set up pagination with Jekyll. While I was following a tutorial, I recognized that message saying there was a newer version. So, I followed this and copy pasted the first example given in the gem repository of jekyll-paginate-v2 which I found on GitHub.
Unfortunately this is not going to work, telling me that I would combine new and old pagination logic. The error is:
AutoPages: Disabled/Not configured in site.config.
Pagination: Legacy paginate configuration settings detected and will be used.
The new jekyll-paginate-v2 and the old jekyll-paginate logic cannot both be configured in the site config at the same time. Please disable the old 'paginate:' config settings by either omitting the values or setting them to 'paginate:off'.
Traceback (most recent call last):
...
.../paginationGenerator.rb:37:in `generate': The new jekyll-paginate-v2 and the old jekyll-paginate logic cannot both be configured in the site config at the same time. Please disable the old 'paginate:' config settings by either omitting the values or setting them to 'paginate:off'. (ArgumentError)
I omitted the file references to jekyll (none of my files was listed). Also I do not see a file called site.config (neither in my coder nor in the examples). What is wrong with my setup?