GOPackageHeaderServer/web/outputpage.html
Captain ALM 2e5c296a7c
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Add the ability to include a CSS sheet link.
The output page no states Package Set rather than just Package.
2022-07-12 11:16:03 +01:00

23 lines
699 B
HTML

<!DOCTYPE html>
<html>
<head>
{{ if .PageHandler.OutputPage }}
{{ if isNotEmpty .PageHandler.Name }}
<title>Go Package Set: {{ .PageHandler.Name }}</title>
{{ end }}
{{ if isNotEmpty .PageHandler.CSS }}
<link rel="stylesheet" type="text/css" href="{{ .PageHandler.CSS }}">
{{ end }}
{{ 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 Set: {{ .PageHandler.Name }}</h1>
{{ end }}
<a href="{{ .GetLink }}">{{ .GetLink }}</a>
{{ end }}
</body>
</html>