voidcannon: render authors, abstract in articles

This commit is contained in:
bignutty
2025-11-02 23:36:49 +01:00
parent fead3492b7
commit 4169e76937
3 changed files with 4 additions and 4 deletions

View File

@@ -1,5 +1,3 @@
# Pagex Playground Article
this is sample text (playground) this is sample text (playground)
## Test Articles ## Test Articles

View File

@@ -6,6 +6,7 @@ import {
} from "voidcannon"; } from "voidcannon";
import bignutty from "../../authors/bignutty.pagex.js"; import bignutty from "../../authors/bignutty.pagex.js";
import placeholder from "../../authors/placeholder.pagex.js";
import testCollection from "../../collections/test.pagex.js"; import testCollection from "../../collections/test.pagex.js";
import featuredCollection from "../../collections/_featured.pagex.js"; import featuredCollection from "../../collections/_featured.pagex.js";
@@ -22,6 +23,7 @@ export default {
title: "Playground Test Article", title: "Playground Test Article",
created_at: Date.now(), created_at: Date.now(),
abstract: "Article to quickly run tests for all pagex markdown features. Abstract has a lot of filler and padding to test if css limits work as intended across all surfaces.", abstract: "Article to quickly run tests for all pagex markdown features. Abstract has a lot of filler and padding to test if css limits work as intended across all surfaces.",
author_abstract: "i swear i only played this game for the plot",
cta: "View Test Article!", cta: "View Test Article!",
theme: { theme: {
emoji_style: VoidcannonEmojiStyle.FLUENT_FLAT, emoji_style: VoidcannonEmojiStyle.FLUENT_FLAT,
@@ -60,7 +62,7 @@ export default {
}, },
color: "#D02843" color: "#D02843"
}, },
authors: [bignutty], authors: [bignutty, placeholder, placeholder],
collections: [ collections: [
testCollection.id, testCollection.id,
featuredCollection.id featuredCollection.id