Use version info struct

This commit is contained in:
Valentin Brandl
2019-04-30 14:20:11 +02:00
parent bdf9d382d4
commit 1f807a14fb
5 changed files with 17 additions and 11 deletions

View File

@@ -1,6 +1,7 @@
@use super::base;
@use crate::VersionInfo;
@(commit: &str, version: &str, domain: &str)
@(version_info: VersionInfo, domain: &str)
@:base("Hits-of-Code Badges", "Hits-of-Code Badges", {
@@ -60,4 +61,4 @@ my <a href="https://mirror.oldsql.cc/key.asc">GPG key</a>
(<a href="http://pool.sks-keyservers.net/pks/lookup?op=get&amp;search=0x1FFE431282F4B8CC0A7579167FB009175885FC76">from a
keyserver</a>), or by using any other UID from my key.
</p>
}, commit, version)
}, version_info)