all repos — py-vite @ 5633bfb10f7132fd5661f49c2f4a0b2e031d476f

the original vite, written in python

docs: add configuration info
icyphox icyph0x@protonmail.com
Sat, 17 Mar 2018 19:03:48 +0530
commit

5633bfb10f7132fd5661f49c2f4a0b2e031d476f

parent

f230d78eb6b51ce871dad02f720d983d8f0f9562

1 files changed, 11 insertions(+), 0 deletions(-)

jump to
M README.mdREADME.md

@@ -17,6 +17,17 @@ $ make.py # at the project directory

``` Rendered HTML will be in `build/` +## Configuration +Not very sophisticated, but basic configuration can be acheived using `config.py` found in the project directory. +Example config: +```python +# config.py +title = '' +author = '' +header = '' +footer = '' +``` + ## Templating Vite uses Jinja2 templating. A basic example would be: ```html