content: add collection to eos post

This commit is contained in:
bignutty
2025-11-08 17:46:38 +01:00
parent e2807ddad4
commit 61cc315f41
2 changed files with 17 additions and 1 deletions

View File

@@ -9,6 +9,7 @@ import featuredCollection from "../../collections/_featured.pagex.js";
import {PagexResourceTransformer} from "pagex";
import {ThemeVariants} from "pagex_commons";
import labsCoreMaintainersPagex from "../../authors/labsCoreMaintainers.pagex.js";
import discordPagex from "../../collections/discord.pagex.js";
export default {
type: VoidcannonContentType.ARTICLE,
@@ -36,5 +37,6 @@ export default {
},
color: "#0eb1f4"
},
authors: [labsCoreMaintainersPagex]
authors: [labsCoreMaintainersPagex],
collections: [discordPagex.id]
}

View File

@@ -0,0 +1,14 @@
import {VoidcannonCollectionColor, VoidcannonCollectionIconType, VoidcannonContentType} from "voidcannon";
import {PagexResourceTransformer} from "pagex";
export default {
type: VoidcannonContentType.COLLECTION,
id: "discord",
name: "Discord",
description: "Anything concerning the blue chat app.",
color: VoidcannonCollectionColor.AQUA,
icon: {
type: VoidcannonCollectionIconType.ICON,
icon: "comic_bubble"
}
}