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.2.0.tar.gz (5.0 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.2.0-py2.py3-none-any.whl (5.8 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for staticjinja-0.2.0.tar.gz
Algorithm Hash digest
SHA256 060f7bc945a723fea59e86c5ad5e39b932d5ac2f8d8202bc85487eba37c479cb
MD5 a2842d0aec09eb3e71741bf443180f22
BLAKE2b-256 d985187bf3e22251106955178fc4a1f9c15a72adae10b09c826df9c0964c9ac9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for staticjinja-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 345e22b8697c9658cb04f9f487529ec2301dfeeaa3e411b5fd240b1e0710b1f5
MD5 69e24d9cb4fb3913ccbe02db97999573
BLAKE2b-256 621b736596b48d5d5303fdc174f4b5d3599b15261477a531d71b89c38fd562c1

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