Sample: Static sites that stay small

1 min readSample

A short sample article about keeping a personal site fully static and easy to host.

Sample. Replace src/content/posts/static-sites-that-stay-small.mdx with a real article when ready.

This post is sample content. Replace the file in src/content/posts/ with a real article when you are ready.

Why keep the site static

A personal site does not need a database or a hosted CMS on day one. Markdown and MDX in Git give you:

  • reviewable history
  • offline editing
  • a build that produces plain HTML
const site = {
  name: 'Fabricio Frontarolli',
  role: 'Software engineer',
};

What this sample demonstrates

  1. Frontmatter for title, description, date, and tags
  2. Syntax-highlighted code
  3. An imported Astro component inside MDX

When you delete this file, also remove any other entries marked sample: true.