rename bunbunsearch.xml to macro style name
This commit is contained in:
parent
996924582a
commit
93703674ff
2 changed files with 1 additions and 7 deletions
|
@ -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
|
handlebars
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue