18 lines
624 B
Plaintext
18 lines
624 B
Plaintext
package home
|
|
|
|
// Define the Home template, accepting a BuildInfo struct.
|
|
templ Home(buildTime string, sha1ver string, goVersion string) {
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Build Information</title>
|
|
</head>
|
|
<body>
|
|
<h1>Build Information</h1>
|
|
<p><strong>Build Time:</strong> {buildTime}</p>
|
|
<p><strong>SHA1 Version:</strong> {sha1ver}</p>
|
|
<p><strong>Go Runtime Version:</strong> {goVersion}</p>
|
|
</body>
|
|
</html>
|
|
} |