From d4b045d17b5b6a56da918d8f6fe8bc18bbcaf8b8 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Tue, 25 Aug 2026 18:29:20 +0200 Subject: [PATCH] Simplify documentation landing hierarchy --- Delvehold/index.md | 2 -- site/quartz.layout.ts | 15 ++++++++++++++- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/Delvehold/index.md b/Delvehold/index.md index 39f451b..398b56f 100644 --- a/Delvehold/index.md +++ b/Delvehold/index.md @@ -3,8 +3,6 @@ title: DELVE/HOLD description: One persistent world, experienced from opposite sides of the contract. --- -# DELVE/HOLD - **DELVE/HOLD** is a small persistent-world experiment about the relationship between living dungeons, the people who enter them, and the workshops that turn their spoils into an industrial civilization. The title changes emphasis with the player's perspective: diff --git a/site/quartz.layout.ts b/site/quartz.layout.ts index 9ae0721..683c6a4 100644 --- a/site/quartz.layout.ts +++ b/site/quartz.layout.ts @@ -14,7 +14,20 @@ export const sharedPageComponents: SharedLayout = { } export const defaultContentPageLayout: PageLayout = { - beforeBody: [Component.Breadcrumbs({ rootName: "DELVE/HOLD" }), Component.ArticleTitle(), Component.ContentMeta()], + beforeBody: [ + Component.ConditionalRender({ + component: Component.Breadcrumbs({ rootName: "DELVE/HOLD" }), + condition: (page) => page.fileData.slug !== "index", + }), + Component.ConditionalRender({ + component: Component.ArticleTitle(), + condition: (page) => page.fileData.slug !== "index", + }), + Component.ConditionalRender({ + component: Component.ContentMeta(), + condition: (page) => page.fileData.slug !== "index", + }), + ], left: [Component.DesktopOnly(Component.Explorer())], right: [Component.DesktopOnly(Component.TableOfContents()), Component.Backlinks()], }