Top Open-Source Static Site Generators Need a CMS to go with a generator below? Check out the brand new headlessCMS.org for your top options.

Fork me on GitHub

staticjinja

staticjinja is a library for easily deploying static sites using the jinja2 templating language.

Most static site generators are cumbersome to use. Nevertheless, when deploying a static website that could benefit from factored out data or modular html pages (especially convenient when prototyping), a templating engine can be invaluable. (jinja2 is an extremely powerful tool in this regard.)

staticjinja is designed to be lightweight, easy-to-use, and highly extensible, enabling you to focus on simply making your site.

$ mkdir templates
$ vim templates/index.html
$ python -m staticjinja
Building index.html...
Templates built.
Watching 'templates' for changes...
Press Ctrl+C to stop.