pagex: add support for directly passing fragments in fragment()
voidcannon: reflect latest change content: reflect latest change
This commit is contained in:
2
pagex
2
pagex
Submodule pagex updated: d4fbbc31e8...e696c68ca6
@@ -10,7 +10,7 @@ export default {
|
||||
path: "dist",
|
||||
static: "_"
|
||||
},
|
||||
pagex_content: {
|
||||
resources: {
|
||||
content: "./src/",
|
||||
templates: "./voidcannon/src/",
|
||||
client: {
|
||||
|
||||
@@ -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: {}
|
||||
}
|
||||
]
|
||||
|
||||
Submodule voidcannon updated: d0132ce8bf...c36e93daef
Reference in New Issue
Block a user