Skip to main content

Static site generation (SSG)

You're looking at a static webpage. It's an HTML document. You can see what it looks like by pressing F12 (if you're on desktop).

But I didn't write all that myself. Instead, I wrote something like this:

---
tags: ["web"]
title: "Static site generation (SSG)"
layout: layouts/note.njk
---

You're looking at a [static](/static-dynamic-sites/) webpage.

Then I ran a static site generator to turn it into HTML, and put the HTML on the internet.

Here's a list of popular SSGs. Some people like to make their own from scratch.

Contrast server-side rendering.