[content] migrate 404 to statics

[pagex] snake case to camel case
[voidcannon] implement Static content type
This commit is contained in:
bignutty
2026-01-21 03:50:04 +01:00
parent 3e7126c324
commit 19f5e68f59
7 changed files with 23 additions and 27 deletions

2
gm3

Submodule gm3 updated: cf4c361294...bcba3a24c5

2
pagex

Submodule pagex updated: 64f62fd44c...92fac9c1f7

View File

@@ -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"

View File

@@ -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: {}
}
]
}

View 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: {}
}
}