aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--templates/index.html6
-rw-r--r--templates/package.html6
2 files changed, 6 insertions, 6 deletions
diff --git a/templates/index.html b/templates/index.html
index fa061f1..7ffc1a6 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -29,15 +29,15 @@
<div class="row">
<div class="five columns">
<span class="inline-header">Package:</span>
- {{ .ImportPath }}
+ {{ .ModulePath }}
</div>
<div class="five columns">
<span class="inline-header">Source:</span>
<a href="//{{ .GitURL }}">{{ .GitURL }}</a>
</div>
<div class="two columns">
- <a href="//{{ .GodocHome }}">
- <img src="//pkg.go.dev/badge/{{ .ImportPath }}.svg" alt="Go Reference" />
+ <a href="//{{ .DocURL }}">
+ <img src="//pkg.go.dev/badge/{{ .ModulePath }}.svg" alt="Go Reference" />
</a>
</div>
</div>
diff --git a/templates/package.html b/templates/package.html
index a85ff77..bd56c38 100644
--- a/templates/package.html
+++ b/templates/package.html
@@ -1,10 +1,10 @@
<!DOCTYPE html>
<html>
<head>
- <meta name="go-import" content="{{ .CanonicalURL }} git https://{{ .Repo }}">
- <meta http-equiv="refresh" content="0; url={{ .GodocURL }}">
+ <meta name="go-import" content="{{ .ModulePath }} git https://{{ .GitURL }}">
+ <meta http-equiv="refresh" content="0; url={{ .DocURL }}">
</head>
<body>
- Nothing to see here. Please <a href="{{ .GodocURL }}">move along</a>.
+ Nothing to see here. Please <a href="{{ .DocURL }}">move along</a>.
</body>
</html>