blob: dff7231a3426138629a5a9cbf45d45ff5fda13fc [file] [log] [blame]
<!--
Copyright 2021 The Go Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
-->
{{define "title"}}
<title>{{.HTMLTitle}} - pkg.go.dev</title>
{{end}}
{{define "pre-content"}}
<link href="/static/frontend/vuln/vuln.min.css?version={{.AppVersionLabel}}" rel="stylesheet">
{{block "main-styles" .}}{{end}}
{{end}}
{{define "main"}}
<main class="go-Container">
<div class="go-Content Vuln">
{{block "main-content" .}}{{end}}
</div>
</main>
{{end}}
{{define "vuln-details"}}
<div class="Vuln-details">
<ul class="Vuln-detailsMetadata">
{{if .Aliases}}
<li class="go-textSubtle Vuln-alias">
{{range $i, $v := .Aliases}}{{if ne $i 0}},{{end}}{{$v}}{{end}}
</li>
{{end}}
<li class="go-textSubtle">Published: {{.Published.Format "Jan 02, 2006"}}</li>
{{if ne .Published .Modified}}
<li class="go-textSubtle">Modified: {{.Modified.Format "Jan 02, 2006"}}</li>
{{end}}
</ul>
<p>{{.Details}}</p>
</div>
{{end}}