@use super::base; @use crate::statics::VersionInfo; @use crate::template::RepoInfo; @(version_info: VersionInfo, repo_count: usize, repo_info: RepoInfo) @:base("Hits-of-Code Badges", "Overview", {
The project @repo_info.url has
@repo_info.hoc_pretty (exactly @repo_info.hoc) hits of code at
@repo_info.head on the
@repo_info.branch
branch. The repository contains
@repo_info.commits commits.
To include the badge in your readme, use the following markdown:
[![Hits-of-Code](@repo_info.base_url/@repo_info.path?branch=@repo_info.branch)](@repo_info.base_url/@repo_info.path/view?branch=@repo_info.branch)}, version_info, repo_count)