Skip to main content

dev-friendly generation of websites with jinja2 templates

Project description

jinja2html

Python 3.7 License: GPL v3

jinja2html takes your jinja2 templates and outputs HTML.

More importantly, it supports developer-friendly live reloading so that you can create that masterpiece of a static website without ripping your hair out.

Why jinja2html?

Blogging frameworks are a dime a dozen. But what if you don't want to write a blog? What if you wanted to make a static landing page, but without all that client-heavy nonsense like React/Vue/Angular/etc?

That's where jinja2html comes in.

No fancy bells and whistles, no bull$hit, just your bold artisitic vision + jinja2html.

Install

pip install jinja2html

This installs the CLI command, jinja2html, which can be used to generate html or start the local development server.

Usage

usage: jinja2html.py [-h] [--generate]

Renders jinja2 templates as html

optional arguments:
  -h, --help  show this help message and exit
  --generate  cause all jinja2 files in this directory to be rendered for prod

Examples

# run in dev mode, in the current directory
python jinja2html

# generate html files for use in prod
python jinja2html --generate

Project details


Release history Release notifications

Download files

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

Files for jinja2html, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size jinja2html-0.0.1-py3-none-any.whl (16.3 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size jinja2html-0.0.1.tar.gz (15.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page