Static site generators are used to speed up the process of development in terms of being able to code it as you would a dynamic site, but &quot;compiling&quot; down to a production-ready static site with minified code. A lot of them allow you to do things like including partials, string interpolation, using middleware and pre-processors, etc.