Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit 60aa60e

Browse files
committed
chore: update example
1 parent 31f3819 commit 60aa60e

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

examples/blog/.vuepress/config.js

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ module.exports = {
2121
// layout: 'IndexArchive', defaults to `Layout.vue`
2222
itemLayout: 'Post',
2323
itemPermalink: '/archive/:year/:month/:day/:slug',
24-
pagination: {
25-
lengthPerPage: 5,
26-
},
2724
},
2825
],
2926
frontmatters: [
@@ -33,21 +30,18 @@ module.exports = {
3330
path: '/tag/',
3431
// layout: 'Tag', defaults to `FrontmatterKey`.
3532
frontmatter: { title: 'Tag' },
36-
pagination: {
37-
lengthPerPage: 3
38-
}
3933
},
4034
{
4135
id: "location",
4236
keys: ['location'],
4337
path: '/location/',
4438
// layout: 'Location', defaults to `FrontmatterKey`.
4539
frontmatter: { title: 'Location' },
46-
pagination: {
47-
lengthPerPage: 5
48-
},
4940
}
50-
]
41+
],
42+
globalPagination: {
43+
lengthPerPage: 5
44+
}
5145
}],
5246
],
5347
}

0 commit comments

Comments
 (0)