aboutsummaryrefslogtreecommitdiff
path: root/templates/package.html
diff options
context:
space:
mode:
authorHenrique Dias <hacdias@gmail.com>2023-11-07 20:45:45 +0100
committerGitHub <noreply@github.com>2023-11-07 11:45:45 -0800
commit550450a3b1e07a70a506d872137ea43774d2c5e0 (patch)
treed75e2174eeb6ba9197fbf70ce97f3567a6322859 /templates/package.html
parent35e7777d1a11bff5e192aaae3145685a6a2aec60 (diff)
downloadsally-550450a3b1e07a70a506d872137ea43774d2c5e0.tar.gz
feat: add support for other vcs systems (#128)
Adds support to other VCS systems as per the specification. Defaults to `git` for backwards compatibility. Renames the internally used `.GitURL` to `.RepoURL` for clarity.
Diffstat (limited to '')
-rw-r--r--templates/package.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/package.html b/templates/package.html
index bd56c38..6183c51 100644
--- a/templates/package.html
+++ b/templates/package.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
- <meta name="go-import" content="{{ .ModulePath }} git https://{{ .GitURL }}">
+ <meta name="go-import" content="{{ .ModulePath }} {{ .VCS }} https://{{ .RepoURL }}">
<meta http-equiv="refresh" content="0; url={{ .DocURL }}">
</head>
<body>