我使用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
为什么子目录不会出现在输出文件夹中的任何想法?