diff --git a/src/content/articles/playground-empty/content.md b/src/content/articles/playground-empty/content.md new file mode 100644 index 0000000..3cab821 --- /dev/null +++ b/src/content/articles/playground-empty/content.md @@ -0,0 +1 @@ +This article is configured to have the bare minimum of what's required for it to render properly. \ No newline at end of file diff --git a/src/content/articles/playground-empty/playground-empty.pagex.js b/src/content/articles/playground-empty/playground-empty.pagex.js new file mode 100644 index 0000000..c6fa976 --- /dev/null +++ b/src/content/articles/playground-empty/playground-empty.pagex.js @@ -0,0 +1,17 @@ +import {VoidcannonContentType} from "voidcannon"; + +import placeholder from "../../authors/placeholder.pagex.js"; + +import {PagexResourceTransformer} from "pagex"; + +export default { + type: VoidcannonContentType.ARTICLE, + content: { + _transform: PagexResourceTransformer.MARKDOWN, + path: "./content.md" + }, + id: "playground-empty", + title: "Playground Empty Article", + created_at: 1762267626610, + authors: [placeholder] +} \ No newline at end of file diff --git a/src/content/articles/playground-p3/content.md b/src/content/articles/playground-p3/content.md index 9bbe976..7ba65c2 100644 --- a/src/content/articles/playground-p3/content.md +++ b/src/content/articles/playground-p3/content.md @@ -1,5 +1,3 @@ -# Persona 3 Reload - this is sample text (p3) ## Test Articles diff --git a/src/content/articles/playground-totk/content.md b/src/content/articles/playground-totk/content.md index 425564a..ad897ab 100644 --- a/src/content/articles/playground-totk/content.md +++ b/src/content/articles/playground-totk/content.md @@ -1,5 +1,3 @@ -# The Legend of Zelda: Tears of the Kingdom - this is sample text (totk) ## Test Articles diff --git a/src/content/editorial/home/home.pagex.js b/src/content/editorial/home/home.pagex.js index 746da6c..69482b4 100644 --- a/src/content/editorial/home/home.pagex.js +++ b/src/content/editorial/home/home.pagex.js @@ -7,10 +7,12 @@ import {PagexResourceTransformer} from "pagex"; import CollectionContentTransformer from "voidcannon/src/transformers/CollectionContent.transformer.js"; import RecentContentTransformer from "voidcannon/src/transformers/RecentContent.transformer.js"; import ContentByIdentifierTransformer from "voidcannon/src/transformers/ContentByIdentifier.transformer.js"; + import playground from "../../articles/playground/playground.pagex.js"; import playgroundP3 from "../../articles/playground-p3/playground-p3.pagex.js"; -import playgroundTotk from "../../articles/playground-totk/playground-totk.pagex.js"; -import recentArticlesPagex from "../recent-articles/recent-articles.pagex.js"; +import playgroundEmpty from "../../articles/playground-empty/playground-empty.pagex.js"; + +import recentArticles from "../recent-articles/recent-articles.pagex.js"; export default { type: VoidcannonContentType.EDITORIAL, @@ -26,8 +28,8 @@ export default { _transform: ContentByIdentifierTransformer, content_ids: [ playground.id, + playgroundEmpty.id, playgroundP3.id, - playgroundTotk.id ], // TODO: implement this content_types: [ @@ -70,7 +72,7 @@ export default { label: "View All", target: { type: VoidcannonContentType.EDITORIAL, - id: recentArticlesPagex.id + id: recentArticles.id }, } }, diff --git a/voidcannon b/voidcannon index e781f24..7edcd34 160000 --- a/voidcannon +++ b/voidcannon @@ -1 +1 @@ -Subproject commit e781f24aac95aa96f22c888f1aedaba621c1294f +Subproject commit 7edcd341950ea4357fedd02906c5f6cb8df9ec39