Update 'README.md'
This commit is contained in:
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
# <p align="center">Flair</p>
|
# <p align="center">Flair</p>
|
||||||
|
|
||||||
An extra simplified version of Flask, written as a Rust lib.
|
An extra simplified version of Jinja, written as a Rust lib.
|
||||||
## 🧐 Features
|
## 🧐 Features
|
||||||
- Reads templates
|
- Reads templates
|
||||||
- Dynamically generate content based on rust variables or bash commands
|
- Dynamically generate content based on rust variables or bash commands
|
||||||
@ -13,10 +13,11 @@ Templates are defined as .ft files.
|
|||||||
They may contain any text. Special words are defined between percentage signs:
|
They may contain any text. Special words are defined between percentage signs:
|
||||||
```
|
```
|
||||||
Hello %%name%%
|
Hello %%name%%
|
||||||
|
Today is the %%cmd: date%%
|
||||||
```
|
```
|
||||||
|
|
||||||
## Try
|
## Try
|
||||||
An example website is included.
|
An example website is included, that uses a template for its index.html.
|
||||||
|
|
||||||
To see it, clone this repo, then:
|
To see it, clone this repo, then:
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
Reference in New Issue
Block a user