【发布时间】:2017-08-17 16:28:27
【问题描述】:
首先,我使用的是 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.
任何帮助将不胜感激。
【问题讨论】:
标签: pagination jekyll