From 620c8d0a3b5a27526c6cf8396f131bd132b7f57e Mon Sep 17 00:00:00 2001 From: Sutu Sebastian Date: Mon, 20 Jul 2026 15:48:42 +0300 Subject: [PATCH] docs: render site footer only on the homepage Keep the marketing footer off content pages by dropping it from the Blume layout registry. --- apps/docs/components.ts | 3 +-- apps/docs/components/blume/Footer.astro | 5 ++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/apps/docs/components.ts b/apps/docs/components.ts index d3e173d..ac684e5 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, + // Footer omitted from layout — homepage-only in `pages/index.astro`. // 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 6256e79..15da3c2 100644 --- a/apps/docs/components/blume/Footer.astro +++ b/apps/docs/components/blume/Footer.astro @@ -14,9 +14,8 @@ 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. +// RootLayout does not forward `logo` — pull from `blume:data` so the footer +// stays in sync with the header logo. const logo = data.config.logo; const repoUrl = navigation.repoUrl; const year = new Date().getFullYear();