How sivuraimo/dd-astro-template works
DD Astro Template is a starter for static Astro sites. Its main user-facing flow is a visitor requesting a page; the template also provides a not-found route, SEO-oriented metadata/styles, and robots/sitemap support. The README documents the intended layout and asset roles, while the sampled source confirms the robots response, sitemap integration, and GSAP plugin registration. Page-to-layout wiring and other unsampled implementation details are not asserted.
Main entry points: robots.txt.ts Robots route · Layout.astro Site layout · gsap.ts Animation setup · index.astro Home route
Components 11
Page delivery
- Home route
src/pages/index.astro - Not-found route
src/pages/404.astro
Presentation
- Site layout
src/layouts/Layout.astro - Site settings
src/data/site.ts - Global styles
src/styles/global.scss - Site assets
src/assets - Animation setup
src/scripts/gsap.ts - ScrollTrigger
SEO and discovery
- Robots route
src/pages/robots.txt.ts - Sitemap integration
astro.config.mjs
Other components
- Site visitor
Connections 6
- Site visitor → Home route: requests page
README.md - Site visitor → Not-found route: requests missing page
README.md - Site visitor → Robots route: requests robots
README.md - Site layout → Global styles: provides styles
README.md - Robots route → Sitemap integration: advertises sitemap
src/pages/robots.txt.ts - Animation setup → ScrollTrigger: registers plugin
src/scripts/gsap.ts