diff options
| author | Henrique Dias <hacdias@gmail.com> | 2023-11-07 20:45:45 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-07 11:45:45 -0800 |
| commit | 550450a3b1e07a70a506d872137ea43774d2c5e0 (patch) | |
| tree | d75e2174eeb6ba9197fbf70ce97f3567a6322859 /templates | |
| parent | 35e7777d1a11bff5e192aaae3145685a6a2aec60 (diff) | |
| download | sally-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 'templates')
| -rw-r--r-- | templates/index.html | 2 | ||||
| -rw-r--r-- | templates/package.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/index.html b/templates/index.html index 7353742..8014921 100644 --- a/templates/index.html +++ b/templates/index.html @@ -33,7 +33,7 @@ </div> <div class="five columns"> <span class="inline-header">Source:</span> - <a href="//{{ .GitURL }}">{{ .GitURL }}</a> + <a href="//{{ .RepoURL }}">{{ .RepoURL }}</a> </div> <div class="two columns"> <a href="{{ .DocURL }}"> 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> |