Curseforge Indexer

This commit is contained in:
Jai A
2020-05-21 22:38:39 -07:00
parent 51cfb1903d
commit 1291f792ab
13 changed files with 472 additions and 38 deletions

View File

@@ -19,6 +19,7 @@ async fn main() -> std::io::Result<()> {
let mut handlebars = Handlebars::new();
handlebars.register_helper("contains", Box::new(helpers::ContainsHelper));
handlebars.register_helper("format", Box::new(helpers::HumanFormatHelper));
handlebars
.register_templates_directory(".hbs", "./templates")
.unwrap();