2021-04-23 03:21:53 +00:00
|
|
|
{{define "base"}}
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
{{if .Package}}
|
|
|
|
<!-- OGP -->
|
|
|
|
<meta name="og:title" content="{{.Package.Name}}"/>
|
|
|
|
<meta name="og:description" content="{{.Package.Description}}"/>
|
|
|
|
|
|
|
|
<!-- Go -->
|
|
|
|
<meta name="go-import" content="{{.Module}} git {{.Package.CloneHTTP}}"/>
|
|
|
|
<meta name="go-source" content="{{.GoSource}}">
|
|
|
|
|
|
|
|
<!-- Git Import -->
|
|
|
|
<meta name="git-import" content="{{.Package.Name}} {{.Package.CloneHTTP}} {{.Package.CloneSSH}}"/>
|
|
|
|
{{end}}
|
|
|
|
<title>Vanity - {{if .Package}}{{.Package.Name}}{{else}}Index{{end}}</title>
|
2021-05-09 05:02:27 +00:00
|
|
|
|
|
|
|
<link rel="stylesheet" href="{{Domain}}/_/sakura.css">
|
2021-04-23 03:21:53 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h1><a href="{{if .Index}}.{{else}}../{{end}}">Index</a></h1>
|
|
|
|
<hr/>
|
|
|
|
{{block "content" .}}{{end}}
|
|
|
|
<hr/>
|
|
|
|
<strong>Vanity Version:</strong>
|
|
|
|
{{AppVer}}
|
|
|
|
<br/><br/>
|
|
|
|
<strong>Go Version:</strong>
|
|
|
|
{{GoVer}}
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
{{end}}
|