Minimalist Python library for building static sites w/ Jinja2
Switch branches/tags
Clone or download

README.rst

staticjinja

https://badge.fury.io/py/staticjinja.png

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 http://staticjinja.readthedocs.org/en/latest/.

Contribute

  1. Check for open issues or open a fresh issue to start a discussion around a feature idea or a bug.
  2. Fork the repository on GitHub to start making your changes to the master branch (or branch off of it).
  3. Send a pull request and bug the maintainer until it gets merged and published. :) Make sure to add yourself to AUTHORS.