Composite delete: the page body is GameCultContent; with the branch gone the old name lied

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-10-02 19:32:12 +02:00
commit 329b7aa8f1
2 changed files with 5 additions and 5 deletions

View file

@ -1,7 +1,7 @@
import { QuartzConfig } from "./quartz/cfg";
import * as Plugin from "./quartz/plugins";
import * as Component from "./quartz/components";
import GameCultCompositeContent from "./quartz/components/GameCultCompositeContent";
import GameCultContent from "./quartz/components/GameCultContent";
/**
* Quartz 4 Configuration
@ -89,10 +89,10 @@ const config: QuartzConfig = {
Plugin.AliasRedirects(),
Plugin.ComponentResources(),
Plugin.ContentPage({
pageBody: GameCultCompositeContent({ fallback: "content" }),
pageBody: GameCultContent({ fallback: "content" }),
}),
Plugin.FolderPage({
pageBody: GameCultCompositeContent({ fallback: "folder" }),
pageBody: GameCultContent({ fallback: "folder" }),
}),
Plugin.ContentIndex({
enableSiteMap: true,

View file

@ -73,7 +73,7 @@ export default ((opts?: Partial<Options>) => {
sidebarSummary: (count) => `${count} public posts, newest trouble first.`,
})
const GameCultCompositeContent: QuartzComponent = (props: QuartzComponentProps) => {
const GameCultContent: QuartzComponent = (props: QuartzComponentProps) => {
const { fileData, tree, allFiles } = props
const renderSlug = fileData.slug as FullSlug | undefined
const sourceFile = resolveGameCultSourceFile(fileData, allFiles) ?? fileData
@ -113,5 +113,5 @@ export default ((opts?: Partial<Options>) => {
return <article class={articleClass}>{baseContent}</article>
}
return GameCultCompositeContent
return GameCultContent
}) satisfies QuartzComponentConstructor<Partial<Options>>