Metadata-Version: 2.1
Name: jinja2html
Version: 0.1.0
Summary: friendly generation of websites with jinja2 templates
Home-page: https://github.com/fastily/jinja2html
Author: Fastily
Author-email: fastily@users.noreply.github.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
Requires-Dist: beautifulsoup4
Requires-Dist: Jinja2
Requires-Dist: lxml
Requires-Dist: watchdog
Requires-Dist: websockets

# jinja2html
[![Python 3.7](https://upload.wikimedia.org/wikipedia/commons/f/fc/Blue_Python_3.7_Shield_Badge.svg)](https://www.python.org)
[![License: GPL v3](https://upload.wikimedia.org/wikipedia/commons/8/86/GPL_v3_Blue_Badge.svg)](https://www.gnu.org/licenses/gpl-3.0.en.html)

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
```bash
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
```bash
# run in dev mode, in the current directory
python jinja2html

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

