rename bunbunsearch.xml to macro style name

master
Edward Shen 2019-12-22 12:10:10 -05:00
parent 996924582a
commit 93703674ff
Signed by: edward
GPG Key ID: F350507060ED6C90
2 changed files with 1 additions and 7 deletions

View File

@ -234,13 +234,7 @@ fn compile_templates() -> Handlebars {
};
}
register_template!("index", "list");
register_template!("index", "list", "opensearch");
handlebars
.register_template_string(
"opensearch",
String::from_utf8_lossy(include_bytes!(concat!("templates/", "bunbunsearch.xml"))),
)
.unwrap();
handlebars
}