pagex: support pagination at the layout level
voidcannon: add pagination to collections
This commit is contained in:
2
pagex
2
pagex
Submodule pagex updated: 059956a48a...60db03433d
Binary file not shown.
|
After Width: | Height: | Size: 1.3 MiB |
@@ -1,4 +1,5 @@
|
|||||||
import {
|
import {
|
||||||
|
VOIDCANNON_MAX_ITEMS_PER_PAGE,
|
||||||
VoidcannonContentType,
|
VoidcannonContentType,
|
||||||
VoidcannonSectionType
|
VoidcannonSectionType
|
||||||
} from "voidcannon";
|
} from "voidcannon";
|
||||||
@@ -19,7 +20,7 @@ export default {
|
|||||||
entries: {
|
entries: {
|
||||||
_transform: RecentContentTransformer,
|
_transform: RecentContentTransformer,
|
||||||
},
|
},
|
||||||
per_page: 3
|
per_page: VOIDCANNON_MAX_ITEMS_PER_PAGE
|
||||||
},
|
},
|
||||||
name: "Recent Articles",
|
name: "Recent Articles",
|
||||||
description: "Recent Articles",
|
description: "Recent Articles",
|
||||||
|
|||||||
Submodule voidcannon updated: 236c4f233d...1927925e9c
Reference in New Issue
Block a user