Skip to content

staticjinja/staticjinja

Repository files navigation

staticjinja

PyPi Badge Build and Testing Status Documentation Status Test coverage status Code style: Black PyPi downloads total PyPi downloads per month

staticjinja is a library that makes it easy to build static sites using Jinja2.

Many static site generators are complex, with long manuals and unnecessary features. But using template engines to build static websites is really useful.

staticjinja is designed to be lightweight (under 500 lines of source code), and to be easy to use, learn, and extend, enabling you to focus on making your site.

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

Installation

To install staticjinja, simply:

$ pip install staticjinja

Documentation

Documentation is available at https://staticjinja.readthedocs.io.

Contribute

Please see CONTRIBUTING.