Skip to content
Studio

How this site is built

  • astro
  • tooling

Astro builds every page to static HTML. The browser loads no JavaScript unless a component asks for it.

The parts

  • Pages live in src/pages. One file becomes one URL.
  • Components live in src/components. They hold the repeated parts.
  • Content lives in src/content/posts. One Markdown file becomes one entry.

The scripts

Each <script> block in a component is bundled by Vite. Astro loads the bundle only on the pages that use the component.

Back to the journal