Base creation page

This commit is contained in:
Jai A
2020-06-22 21:04:17 -07:00
parent 1f4985c7dd
commit 23503dc439
10 changed files with 123 additions and 22 deletions

View File

@@ -1,5 +1,8 @@
mod contains;
mod format_human;
use handlebars::*;
pub use contains::ContainsHelper;
pub use format_human::HumanFormatHelper;
pub fn register_helpers(handlebars: &mut Handlebars) {
handlebars.register_helper("contains", Box::new(contains::ContainsHelper));
handlebars.register_helper("format", Box::new(format_human::HumanFormatHelper));
}