[content] migrate 404 to statics
[pagex] snake case to camel case [voidcannon] implement Static content type
This commit is contained in:
2
gm3
2
gm3
Submodule gm3 updated: cf4c361294...bcba3a24c5
2
pagex
2
pagex
Submodule pagex updated: 64f62fd44c...92fac9c1f7
@@ -21,7 +21,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
templates: {
|
templates: {
|
||||||
[PagexTemplateType.BASE_PAGE]: "frames/Page.js"
|
[PagexTemplateType.BASE_PAGE]: "frames/Voidcannon.frame.js"
|
||||||
},
|
},
|
||||||
discovery: {
|
discovery: {
|
||||||
web_base: "https://blog.bignut.zip"
|
web_base: "https://blog.bignut.zip"
|
||||||
|
|||||||
@@ -1,22 +0,0 @@
|
|||||||
import {
|
|
||||||
VoidcannonContentType,
|
|
||||||
VoidcannonSectionType
|
|
||||||
} from "voidcannon";
|
|
||||||
|
|
||||||
import NotFoundFragment from "voidcannon/src/fragments/notfound/NotFound.fragment.js";
|
|
||||||
|
|
||||||
export default {
|
|
||||||
type: VoidcannonContentType.EDITORIAL,
|
|
||||||
id: "voidcannon-404",
|
|
||||||
slug: "404",
|
|
||||||
name: "404",
|
|
||||||
description: "404. Not found.",
|
|
||||||
color: null,
|
|
||||||
sections: [
|
|
||||||
{
|
|
||||||
type: VoidcannonSectionType.FRAGMENT,
|
|
||||||
fragment: NotFoundFragment,
|
|
||||||
params: {}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
18
src/content/static/404/404.pagex.js
Normal file
18
src/content/static/404/404.pagex.js
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
import {
|
||||||
|
VoidcannonContentType
|
||||||
|
} from "voidcannon";
|
||||||
|
|
||||||
|
import NotFoundFragment from "voidcannon/src/fragments/notfound/NotFound.fragment.js";
|
||||||
|
|
||||||
|
export default {
|
||||||
|
type: VoidcannonContentType.STATIC,
|
||||||
|
id: "voidcannon-404",
|
||||||
|
slug: "404",
|
||||||
|
name: "404",
|
||||||
|
description: "404. Not found.",
|
||||||
|
color: null,
|
||||||
|
static: {
|
||||||
|
fragment: NotFoundFragment,
|
||||||
|
params: {}
|
||||||
|
}
|
||||||
|
}
|
||||||
Submodule voidcannon updated: 328d90f0f4...2221be5d0e
2
webicons
2
webicons
Submodule webicons updated: 7b45413f3a...7cb1a5859e
Reference in New Issue
Block a user