> A simple and mnml static site generator; pronounced as /vit/
![readyish](https://img.shields.io/badge/%F0%9F%A4%B7-Production%20Ready%E2%80%90ish-691d78.svg)
![doesntsuck](https://img.shields.io/badge/%F0%9F%92%A9-Doesn't%20Suck-a37345.svg)
Usage
-----
```console
$ vite.py new
```
Write your Markdown files in the `pages` directory and execute
```console
$ vite.py build
```
**OR**
```console
$ vite.py build . # to build the current directory
```
Rendered HTML will be in the `build` directory.
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 = ''
template = 'index.html' # default is index.html
```
Templating
----------
Vite uses Jinja2 templating. A basic example would be:
```html
{{ title }}
{{ body }}
```
Directory tree
--------------
example
├── build
│ └── test_page1
│ └── index.html
├── config.py
├── make.py -> /home/icyphox/code/vite/make.py
├── pages
│ └── test_page1.md
└── templates
└── index.html
TODO
----
- [x] Templating
- [ ] CSS support
- [ ] Implement a simple HTTP server (*later*)
- [x] Add example site
- [x] Basic config (`config.py`)
## Credits
_Logo credits_: Freepik from www.flaticon.com is licensed by CC 3.0 BY
_Hue_: [UltimateHackers/hue](https://github.com/UltimateHackers/hue)