pagex: add support for directly passing fragments in fragment()
voidcannon: reflect latest change content: reflect latest change
This commit is contained in:
@@ -3,13 +3,7 @@ import {
|
||||
VoidcannonSectionType
|
||||
} from "voidcannon";
|
||||
|
||||
import {PagexResourceTransformer} from "pagex";
|
||||
import CollectionContentTransformer from "voidcannon/src/transformers/CollectionContent.transformer.js";
|
||||
import RecentContentTransformer from "voidcannon/src/transformers/RecentContent.transformer.js";
|
||||
import ContentByIdentifierTransformer from "voidcannon/src/transformers/ContentByIdentifier.transformer.js";
|
||||
import playground from "../../articles/playground/playground.pagex.js";
|
||||
import playgroundP3 from "../../articles/playground-p3/playground-p3.pagex.js";
|
||||
import playgroundTotk from "../../articles/playground-totk/playground-totk.pagex.js";
|
||||
import NotFoundFragment from "voidcannon/src/fragments/notfound/NotFound.fragment.js";
|
||||
|
||||
export default {
|
||||
type: VoidcannonContentType.EDITORIAL,
|
||||
@@ -21,7 +15,7 @@ export default {
|
||||
sections: [
|
||||
{
|
||||
type: VoidcannonSectionType.FRAGMENT,
|
||||
fragment: "fragments/notfound/NotFound",
|
||||
fragment: NotFoundFragment,
|
||||
params: {}
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user