diff --git a/templates/overview.rs.html b/templates/overview.rs.html new file mode 100644 index 0000000..c01ff0a --- /dev/null +++ b/templates/overview.rs.html @@ -0,0 +1,18 @@ +@use super::base; + +@(commit: &str, version: &str, domain: &str, path: &str, url: &str, hoc: u64, head: &str, commit_url: &str) + +@:base("Hits-of-Code Badges", "Overview", { + +

+The project at @url has @hoc hits of code at @head. +

+ +

+To include the badge in your readme, use the following markdown: +

+ +
+[![Hits-of-Code](https://@domain/@path)](https://@domain/view/@path)
+
+}, commit, version)