提交 91ebd109 编写于 作者: U ULIVZ

feat($pagination): correct meta title.

上级 1b234b3e
......@@ -46,13 +46,16 @@ module.exports = (options, ctx) => ({
}
ctx.pagination = pagination
pagination.paginationPages.forEach(({ path }) => {
pagination.paginationPages.forEach(({ path }, index) => {
if (path === '/') {
return
}
ctx.addPage({
permalink: path,
frontmatter: { layout }
frontmatter: {
layout,
title: `Page ${index + 1}`
}
})
})
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册