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:
13
templating/minijinja/README.md
Normal file
13
templating/minijinja/README.md
Normal 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
|
Reference in New Issue
Block a user