staticjinja 0

Python library for building static sites w/ Jinja2

3 years after MIT

staticjinja

.. image:: https://badge.fury.io/py/staticjinja.png :target: http://badge.fury.io/py/staticjinja

.. image:: https://travis-ci.org/Ceasar/staticjinja.svg :target: https://travis-ci.org/Ceasar/staticjinja

staticjinja is a library for easily deploying static sites using the Jinja2_ template engine.

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.

.. code-block:: bash

$ 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:

.. code-block:: bash

$ pip install staticjinja

Documentation

Documentation is available at http://staticjinja.readthedocs.org/en/latest/.

Contribute

. Check for open issues or open a fresh issue to start a discussion

around a feature idea or a bug.

. Fork the repository_ on GitHub to start making your changes to

the master branch (or branch off of it).

. Send a pull request and bug the maintainer until it gets merged and

published. :) Make sure to add yourself to AUTHORS_.

.. _the repository: https://github.com/Ceasar/staticjinja .. _AUTHORS: https://github.com/Ceasar/staticjinja/blob/master/AUTHORS.rst .. _Jinja2: http://jinja.pocoo.org/

Related Repositories

Static-Site-Generators

Static-Site-Generators

A definitive list of tools for generating static websites. ...

brave-website

brave-website

Our amazing web presence. ...

inpycon2016

inpycon2016

PyCon India 2016 website ...

inpycon2016-workshop-qr-codes

inpycon2016-workshop-qr-codes

Getting name and QR codes for sticker printing for PyCon India 2016 ...

staticpycon

staticpycon

The site generator for PyCon China 2014 http://cn.pycon.org/2014/ ...


Top Contributors

Ceasar dominicrodger FiloSottile anuraaga rudyryk bbenne10 jerivas PatrickMassot saschalalala sahuguet zalew upsilon maxxst NeuronQ nijotz TimBest f3anaro jacoblyles