首先,我正在使用Jekyll 3.5.1。
我已经在我的Jekyll配置中启用了分页,并将以下内容添加到了我的_config.yml文件中:
#pagination
paginate: 5
paginate_path: "blog/page:num"
在我的根目录下,我创建了一个名为“blog”的文件夹,并在其中创建了一个“index.html”文件。然而,当我尝试提供该文件时,我收到警告,说无法找到“index.html”文件的分页。
我也尝试过只使用根目录下的index.html文件,但那也没有成功。
在这里您可以看到github repo,以防有所帮助。
我已经尝试过调整paginate_path和index.html文件。任何帮助将不胜感激!
具体错误消息如下:
Pagination: Pagination is enabled, but I couldn't find an index.html page to use as the pagination template. Skipping pagination.
任何帮助都将不胜感激。