Valentin Brandl
037e520beb
All checks were successful
continuous-integration/drone/push Build is passing
60 lines
1.4 KiB
HTML
60 lines
1.4 KiB
HTML
@use super::statics::*;
|
|
@use crate::statics::VersionInfo;
|
|
|
|
@(title: &str, header: &str, content: Content, version_info: VersionInfo, repo_count: usize)
|
|
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<meta name="keywords" content="Hits-of-Code, GitHub, Badge" />
|
|
<meta name="description" content="Hits-of-Code Badges for Git repositories" />
|
|
<link rel="stylesheet" href="/static/@tacit_css_min_css.name" />
|
|
<title>@title</title>
|
|
</head>
|
|
<body>
|
|
|
|
<section>
|
|
<header>
|
|
<h1>@header</h1>
|
|
</header>
|
|
|
|
<article>
|
|
@:content()
|
|
</article>
|
|
|
|
<footer>
|
|
<nav>
|
|
<ul>
|
|
<li>
|
|
<small>Created by <a href="https://www.vbrandl.net">Valentin Brandl</a>.</small>
|
|
</li>
|
|
</ul>
|
|
</nav>
|
|
<nav>
|
|
<ul>
|
|
<li>
|
|
<small>HoC @version_info.version - <a href="https://github.com/vbrandl/hoc/commit/@version_info.commit">@version_info.commit</a></small>
|
|
</li>
|
|
</ul>
|
|
</nav>
|
|
<nav>
|
|
<ul>
|
|
<li>
|
|
<small>Currently serving @repo_count repositories</small>
|
|
</li>
|
|
</ul>
|
|
</nav>
|
|
<nav>
|
|
<ul>
|
|
<li><small><a href="https://github.com/vbrandl/hoc">GitHub</a></small></li>
|
|
<li><small><a href="https://opensource.org/licenses/MIT">MIT License</a></small></li>
|
|
</ul>
|
|
</nav>
|
|
</footer>
|
|
</section>
|
|
|
|
</body>
|
|
</html>
|