我正在使用 jekyll 3.1.2 和 jekyll-paginator 来尝试创建一个网站,该网站的主页位于 index.html,博客位于 /blog/index.html。该网站已正确生成(包括输出目录中的每个帖子),但博客目录未生成分页目录。这是我的配置:
gems: [jekyll-paginate]
# Site settings
title: Site Title
description: >
Description here
baseurl: "/" # the subpath of your site, e.g. /blog
url: "http://<my url here>com" # the base hostname & protocol for your site
# Build settings
markdown: kramdown
paginate: 3
paginate_path: "/blog/page:num/"
我有一堆在输出文件夹中正确生成 HTML 的帖子,但 /blog 子目录只有 index.html 文件,没有子目录......但是,使用详细输出我在生成过程中看到以下内容:
Rendering: /blog/page2/index.html
Pre-Render Hooks: /blog/page2/index.html
Rendering Liquid: /blog/page2/index.html
Rendering Markup: /blog/page2/index.html
Rendering Layout: /blog/page2/index.html
Rendering: /blog/page3/index.html
Pre-Render Hooks: /blog/page3/index.html
Rendering Liquid: /blog/page3/index.html
Rendering Markup: /blog/page3/index.html
Rendering Layout: /blog/page3/index.html
Rendering: /blog/page4/index.html
Pre-Render Hooks: /blog/page4/index.html
Rendering Liquid: /blog/page4/index.html
Rendering Markup: /blog/page4/index.html
Rendering Layout: /blog/page4/index.html
Rendering: /blog/page5/index.html
Pre-Render Hooks: /blog/page5/index.html
Rendering Liquid: /blog/page5/index.html
Rendering Markup: /blog/page5/index.html
Rendering Layout: /blog/page5/index.html
Rendering: /blog/page6/index.html
Pre-Render Hooks: /blog/page6/index.html
Rendering Liquid: /blog/page6/index.html
Rendering Markup: /blog/page6/index.html
Rendering Layout: /blog/page6/index.html
Rendering: /blog/page7/index.html
Pre-Render Hooks: /blog/page7/index.html
Rendering Liquid: /blog/page7/index.html
Rendering Markup: /blog/page7/index.html
Rendering Layout: /blog/page7/index.html
任何想法为什么子目录不会显示在输出文件夹中?