[blog] /src/content/ -> /content/

[voidcannon] hydrate/nojs fixes
[pagex] fix html parser quirk
This commit is contained in:
bignutty
2026-02-18 00:32:30 +01:00
parent ab32597e33
commit 62dffa02c1
63 changed files with 55 additions and 53 deletions

View File

@@ -0,0 +1,33 @@
import {
VOIDCANNON_MAX_ITEMS_PER_PAGE,
VoidcannonContentType,
VoidcannonSectionType
} from "voidcannon";
import RecentContentTransformer from "voidcannon/src/transformers/RecentContent.transformer.js";
export default {
type: VoidcannonContentType.EDITORIAL,
id: "voidcannon-recent",
slug: "recent-articles",
paging: {
entries: {
_transform: RecentContentTransformer,
},
per_page: VOIDCANNON_MAX_ITEMS_PER_PAGE
},
name: "Recent Articles",
description: "Recent Articles",
color: null,
sections: [
{
type: VoidcannonSectionType.CONTENT_GRID,
content: "$paginationItems",
label: "Recent Articles",
icon: "history"
},
{
type: VoidcannonSectionType.PAGINATOR
}
]
}