Skip to main content

jinja based static site generator

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

staticjinja-0.1.6.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

staticjinja-0.1.6-py2.py3-none-any.whl (5.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file staticjinja-0.1.6.tar.gz.

File metadata

  • Download URL: staticjinja-0.1.6.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for staticjinja-0.1.6.tar.gz
Algorithm Hash digest
SHA256 2813bb0590a620858a016e8078b21a2435eee522078487c593090dde7f711cdf
MD5 15b47f8eceb727c5edd23361fa33f49c
BLAKE2b-256 ecbbf78fd03c5b043187e0e4af0ca918d4c7316204e0c6e211176e205579e927

See more details on using hashes here.

File details

Details for the file staticjinja-0.1.6-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for staticjinja-0.1.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a763daf2225b9d0c66f7db5a74449716794da62d5a14ecd19a8189ac834d5401
MD5 fced81158ff1cb8915a0a30a771b7008
BLAKE2b-256 fe5cf78d9ed2292aee8330205e28f882fe4de4723369c4d5df0d8bf32e089ada

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page