GOPackageHeaderServer/web/outputpage.html
Captain ALM 012d464128
All checks were successful
continuous-integration/drone/push Build is passing
Update the system to use html templates.
2022-07-12 11:04:25 +01:00

18 lines
511 B
HTML

<!DOCTYPE html>
<html>
<head>
{{ if isNotEmpty .PageHandler.Name }}
<title>Go Package: {{ .PageHandler.Name }}</title>
{{ end }}
<meta name="go-import" content="{{ .GetGoImportMetaContent }}">
<meta name="go-source" content="{{ .GetGoSourceMetaContent }}">
</head>
<body>
{{ if .PageHandler.OutputPage }}
{{ if isNotEmpty .PageHandler.Name }}
<h1>Go Package: {{ .PageHandler.Name }}</h1>
{{ end }}
<a href="{{ .GetLink }}">{{ .GetLink }}</a>
{{ end }}
</body>
</html>