hoc/templates/overview.rs.html

20 lines
571 B
HTML
Raw Normal View History

2019-04-29 20:38:05 +02:00
@use super::base;
2019-05-14 01:11:39 +02:00
@use crate::statics::VersionInfo;
2019-04-29 20:38:05 +02:00
2019-06-12 21:50:45 +02:00
@(version_info: VersionInfo, repo_count: usize, domain: &str, path: &str, url: &str, hoc: u64, hoc_pretty: &str, head: &str, commit_url: &str)
2019-04-29 20:38:05 +02:00
@:base("Hits-of-Code Badges", "Overview", {
<p>
2019-04-30 14:20:11 +02:00
The project <a href="@url">@url</a> has <strong>@hoc_pretty</strong> (exactly @hoc) hits of code at <a href="@commit_url">@head</a>.
2019-04-29 20:38:05 +02:00
</p>
<p>
To include the badge in your readme, use the following markdown:
</p>
<pre>
[![Hits-of-Code](https://@domain/@path)](https://@domain/view/@path)
</pre>
2019-06-12 21:50:45 +02:00
}, version_info, repo_count)