menu_book Course Curriculum (Astro) expand_more
Components
Pages & Routing
Layouts & Content
Styling
Islands
Data & Server
Rendering
Component frontmatter
Learn Component frontmatter in Astro with a dedicated explanation, topic-specific example, edge guidance, and mastery check.
12 min read
•
Beginner
Advertisement
astro-002.astro
astro
---
const now = new Date();
const year = now.getFullYear();
---
<footer>© {year}</footer>
What to watch
Content source & attribution
Original Syntaxis Content · Original Syntaxis Content