generated from alecodes/base-template
feat: add minijinja as template engine
This commit is contained in:
parent
5a9b871e42
commit
6cb75aa442
10 changed files with 150 additions and 31 deletions
5
build.rs
Normal file
5
build.rs
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
fn main() {
|
||||
// only enable in production build
|
||||
#[cfg(not(debug_assertions))]
|
||||
minijinja_embed::embed_templates!("templates");
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue