aboutsummaryrefslogtreecommitdiff
path: root/tools/govanity/templates/module.html.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'tools/govanity/templates/module.html.tpl')
-rw-r--r--tools/govanity/templates/module.html.tpl12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/govanity/templates/module.html.tpl b/tools/govanity/templates/module.html.tpl
new file mode 100644
index 0000000..fab3414
--- /dev/null
+++ b/tools/govanity/templates/module.html.tpl
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>{{.Name}}: golang repo</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+ <meta name="go-import" content="{{.BaseUrl}}/{{.Name}} {{.VCS}} {{.Repo}}">
+ <meta name="go-source" content="{{.BaseUrl}}/{{.Name}} _ {{.Repo}}/src{/dir} {{.Repo}}/src{/dir}/{file}/#L{line}">
+ </head>
+ <body>
+ go get {{.BaseUrl}}/{{.Name}}
+ </body>
+</html>