content: add collection to eos post
This commit is contained in:
@@ -9,6 +9,7 @@ import featuredCollection from "../../collections/_featured.pagex.js";
|
|||||||
import {PagexResourceTransformer} from "pagex";
|
import {PagexResourceTransformer} from "pagex";
|
||||||
import {ThemeVariants} from "pagex_commons";
|
import {ThemeVariants} from "pagex_commons";
|
||||||
import labsCoreMaintainersPagex from "../../authors/labsCoreMaintainers.pagex.js";
|
import labsCoreMaintainersPagex from "../../authors/labsCoreMaintainers.pagex.js";
|
||||||
|
import discordPagex from "../../collections/discord.pagex.js";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
type: VoidcannonContentType.ARTICLE,
|
type: VoidcannonContentType.ARTICLE,
|
||||||
@@ -36,5 +37,6 @@ export default {
|
|||||||
},
|
},
|
||||||
color: "#0eb1f4"
|
color: "#0eb1f4"
|
||||||
},
|
},
|
||||||
authors: [labsCoreMaintainersPagex]
|
authors: [labsCoreMaintainersPagex],
|
||||||
|
collections: [discordPagex.id]
|
||||||
}
|
}
|
||||||
14
src/content/collections/discord.pagex.js
Normal file
14
src/content/collections/discord.pagex.js
Normal 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"
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user