如何解决更新到 v2 后 Jekyll 中的分页错误
我刚开始用 Jekyll 设置分页。当我关注 tutorial 时,我认出了那条消息,说有一个更新的版本。因此,我按照此操作并复制粘贴了我在 GitHub 上找到的 jekyll-paginate-v2 的 gem repository 中给出的第一个示例。
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)
我省略了对 jekyll 的文件引用(我的文件都没有列出)。此外,我没有看到名为 site.config 的文件(无论是在我的编码器中还是在示例中)。我的设置有什么问题?
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。