11 lines
420 B
Go
11 lines
420 B
Go
package templates
|
|
|
|
var Vanity = `
|
|
<h1><a href="../">Index</a></h1>
|
|
<hr/>
|
|
<p><strong>Name: </strong>{{.Package.Name}}</p>
|
|
<p><strong>Source: </strong><a href="{{.Package.WebURL}}">{{.Package.WebURL}}</a></p>
|
|
{{if .Package.Description}}<p><strong>Description: </strong>{{.Package.Description}}</p>{{end}}
|
|
<p><strong>Documentation: <a href="https://pkg.go.dev/{{.Module}}">https://pkg.go.dev/{{.Module}}</a></strong></p>
|
|
`
|