diff --git a/src/main.rs b/src/main.rs index b1b1c15..3a9d783 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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 } diff --git a/src/templates/bunbunsearch.xml b/src/templates/opensearch.hbs similarity index 100% rename from src/templates/bunbunsearch.xml rename to src/templates/opensearch.hbs