docs: about templating
icyphox icyph0x@protonmail.com
Sat, 17 Mar 2018 14:50:20 +0530
1 files changed,
15 insertions(+),
1 deletions(-)
jump to
M
README.md
→
README.md
@@ -17,9 +17,23 @@ $ make.py # at the project directory
``` Rendered HTML will be in `build/` +## Templating +Vite uses Jinja2 templating. A basic example would be: +```html +<title>{{ title }}</title> + +<body> + {{ body }} +</body> + +<footer> + {{ footer }} +</footer> +``` + ## TODO -- [ ] Templating +- [x] Templating - [ ] CSS support - [ ] Implement a simple HTTP server (_later_) - [x] Add example site