A Static Site Generator (SSG) is a tool that generates a complete, static HTML website from source files such as Markdown, HTML templates, or data files.
Instead of building pages dynamically at runtime (like in CMSs or server-rendered apps), SSGs pre-generate all HTML pages at build time and serve them as-is.
Typical Workflow
Write Content: Usually in Markdown or another markup language.
Design with Templates: Use HTML/CSS templates to define layout.
Build Site: The SSG compiles content and templates into static HTML files.
Deploy: The generated files are hosted on a static server (e.g., Netlify, GitHub Pages).