introducing templating inheritance and macros
This commit is contained in:
parent
7fe997acff
commit
2e7a81d7c7
11 changed files with 206 additions and 230 deletions
|
@ -22,7 +22,7 @@ async fn main() -> std::io::Result<()> {
|
|||
Tera::new(format!("{}{}", CONFIG.root_path, "/templates/*").as_str()).unwrap();
|
||||
tera.autoescape_on(vec![".sql"]);
|
||||
|
||||
env_logger::Builder::from_env(Env::default().default_filter_or("info"));
|
||||
env_logger::Builder::from_env(Env::default().default_filter_or("debug"));
|
||||
|
||||
App::new()
|
||||
.app_data(Data::new(tera))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue