File: src/blocks/footer/Footer02.astro
Compact single-row footer. Left is the site title (home link). Right is a copyright line whose year is generated at build time (new Date().getFullYear()), with extra copy from the text prop.
Does not render footer link groups. For columns + tagline, use Footer 01.
Add to a page
---
import Footer02 from "@/blocks/footer/Footer02.astro";
---
<Footer02 />
Override the notice after the year:
<Footer02 text="Astro Starter. All rights reserved." />
Renders as © 2026 Astro Starter. All rights reserved. (year follows the current build).
Props
| Prop | Type | Default | Notes |
|---|---|---|---|
name |
string |
identity.name |
Left-side title |
text |
string |
"All rights reserved." |
Copy after © {year} |
For a centered stack with nav and socials, see Footer 03.
