skip to navigation
skip to content

Not Logged In

staticjinja 0.2.0

jinja based static site generator

https://badge.fury.io/py/staticjinja.png https://pypip.in/d/staticjinja/badge.png

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.

Installation

To install staticjinja, simply:

$ pip install staticjinja

Optionally, to enable automatic reloading:

$ pip install easywatch

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.
 
File Type Py Version Uploaded on Size
staticjinja-0.2.0-py2.py3-none-any.whl (md5) Python Wheel 2.7 2014-01-04 5KB
staticjinja-0.2.0.tar.gz (md5) Source 2014-01-04 4KB
  • Downloads (All Versions):
  • 142 downloads in the last day
  • 527 downloads in the last week
  • 2585 downloads in the last month