-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: decided to use "tera" at the end as template engine
- Change dependency from `handlebars` to `tera` in Cargo.toml - Remove unused shell variables and FZF colors configuration in `colors.sh` - Replace `Handlebars` with `Tera` for template rendering in `templ.rs` - Replace `BTreeMap` with `Context` for template data in `templ.rs` - Use `tera.add_raw_template` instead of `handlebars.register_template_string` in `templ.rs` - Use `tera.render` instead of `handlebars.render` to render the template in `templ.rs`
- Loading branch information
Showing
3 changed files
with
15 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters