vanity/modules/router/templates/head.go

16 lines
411 B
Go
Raw Normal View History

package templates
var Head = `
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
{{if .Package}}
<meta name="go-import" content="{{.Package.Module}} git {{.Package.Repo}}"/>
<meta name="git-import" content="{{.Package.Path}} {{.Package.Repo}} {{.Package.SSH}}"/>
{{end}}
<title>Vanity - {{if .Package}}{{.Package.Name}}{{else}}Index{{end}}</title>
</head>
<body>
`