c9a54eda49
This changed the cache structure to allow caching data for multiple branches. The service still assumes a default branch named `master` but using the `branch` get parameter, the default branch can be changed. The 404 page for the missing `master` branch was changed to explain the new parameter.
17 lines
635 B
HTML
17 lines
635 B
HTML
@use super::base;
|
|
@use crate::statics::VersionInfo;
|
|
|
|
@(version_info: VersionInfo, repo_count: usize)
|
|
|
|
@:base("Branch not Found - Hits-of-Code Badges", "404 - Branch not Found", {
|
|
<p>
|
|
<big>Sorry</big>. I couldn't find the requested branch of your repositroy. Currently this service assumes the
|
|
extistence of a branch named <code>master</code>. If you'd like to request a badge for another branch, you can do so by
|
|
attaching <code>?branch=<branch-name></code> to the request.
|
|
</p>
|
|
|
|
<p>
|
|
If you think, this is a mistake on my side, please <a href="mailto:mail+hoc@@vbrandl.net">drop me a mail</a>.
|
|
</p>
|
|
}, version_info, repo_count)
|