File: src/blocks/footer/Footer01.astro
Site footer with brand/tagline, link groups, and copyright. Mounted in BaseLayout.astro.
Link groups always come from config (identity.ts → footer.groups) — they are not prop-overridable. With dev.showDevRoutes: true, extra System / Blocks links are appended.
Config (identity.ts → footer)
footer: {
tagline: "Fast marketing sites built with Astro.",
copyright: "© 2026 Your Brand. All rights reserved.",
groups: [
{
label: "Site",
items: [
{ label: "Work", href: "/work/" },
{ label: "Contact", href: "/contact/" },
],
},
],
},
Add to a page
Usually via BaseLayout. For a one-off:
---
import Footer01 from "@/blocks/footer/Footer01.astro";
---
<Footer01 tagline="Built for shipping." />
Props
| Prop | Config key | Notes |
|---|---|---|
tagline |
footer.tagline |
|
copyright |
footer.copyright |
HTML allowed via set:html |
Also reads siteConfig.name and siteConfig.author.email for brand/contact line.