friendly generation of websites with jinja2 templates
Project description
jinja2html
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] [--ignore IGNORE [IGNORE ...]] [--port PORT]
Developer friendly rendering of jinja2 templates.
optional arguments:
-h, --help show this help message and exit
--generate render all jinja2 files in the current directory, no livereload
--ignore IGNORE [IGNORE ...]
folders to ignore
--port PORT serve website on this port
Examples
# run in dev mode, in the current directory
jinja2html
# generate html files for use in prod
jinja2html --generate
# generate html files for use in prod and ignore folders Foo/ and Bar/
jinja2html --generate --ignore Foo/ Bar/
# run in dev mode, on port 8080 and ignore folder hello/world/
jinja2html --port 8080 --ignore hello/world/
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
Built Distribution
Hashes for jinja2html-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e1c49b2412bb868b42a664eec18e84c4dd8f847184b8ace1c3278fb1076c0ea |
|
MD5 | 7dad66dab71208e7d1ad5b3fe8ab0ef2 |
|
BLAKE2b-256 | 5fda53ba83f5bc34b3f8ee8eedbb7332b1b11b40deb822d7d341bc31b23a8dcf |