From a5de9a9bab1c1f398e85cadc2225f977c3379697 Mon Sep 17 00:00:00 2001 From: Sutu Sebastian Date: Mon, 20 Jul 2026 15:50:15 +0300 Subject: [PATCH] chore(docs): show marketing footer only on the homepage Stop registering layout.Footer in RootLayout so content pages stay empty; the home page already slots Footer explicitly. --- apps/docs/components.ts | 3 +-- apps/docs/components/blume/Footer.astro | 4 +--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/apps/docs/components.ts b/apps/docs/components.ts index d3e173d..bdf1643 100644 --- a/apps/docs/components.ts +++ b/apps/docs/components.ts @@ -1,11 +1,10 @@ import { defineComponents } from "blume"; -import Footer from "./components/blume/Footer.astro"; import Pagination from "./components/blume/Pagination.astro"; export default defineComponents({ layout: { - Footer, + // No layout.Footer — homepage slots it; docs pages stay empty. // Theme radius (rounded-blume) instead of built-in pill corners. Pagination, }, diff --git a/apps/docs/components/blume/Footer.astro b/apps/docs/components/blume/Footer.astro index 4f8e9a6..8cb5da8 100644 --- a/apps/docs/components/blume/Footer.astro +++ b/apps/docs/components/blume/Footer.astro @@ -14,9 +14,7 @@ interface Props { const { site, navigation, ui } = Astro.props; -// `layout.Footer` is wired by RootLayout, which does not forward `logo` — pull -// the resolved brand mark from the generated data module so the footer stays in -// sync with the header logo. +// PageLayout omits `logo` — read from blume:data to match the header mark. const logo = data.config.logo; const repoUrl = navigation.repoUrl; const year = new Date().getFullYear();