1
0
mirror of https://github.com/actix/examples synced 2025-06-27 01:27:43 +02:00

add minijinja templating example

This commit is contained in:
Rob Ede
2022-10-16 21:20:01 +01:00
parent 6953e927ac
commit 5e8883e35a
11 changed files with 686 additions and 364 deletions

View File

@ -0,0 +1,13 @@
# MiniJinja
Minimal example of using the template engine [MiniJinja](https://github.com/Keats/tera) that displays a form.
## Usage
```sh
cd templating/minijinja
cargo run
```
- <http://localhost:8080>
- <http://localhost:8080/non-existing-page> - 404 page rendered using template