diff options
| author | Henrique Dias <hacdias@gmail.com> | 2023-11-07 20:45:03 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-07 11:45:03 -0800 |
| commit | 35e7777d1a11bff5e192aaae3145685a6a2aec60 (patch) | |
| tree | b662d39988865fa144e12b591d8e464f421a4606 | |
| parent | 686fb8782cfa89a807ecc6dcbc104c6dab43eb66 (diff) | |
| download | sally-35e7777d1a11bff5e192aaae3145685a6a2aec60.tar.gz | |
fix: documentation URL in index page (#126)
Fixes the documentation URL in the homepage, as it already includes the protocol:
https://github.com/uber-go/sally/blob/686fb8782cfa89a807ecc6dcbc104c6dab43eb66/handler.go#L45
Right now, we're rendering "https://https://[...]".
| -rw-r--r-- | templates/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/index.html b/templates/index.html index 7ffc1a6..7353742 100644 --- a/templates/index.html +++ b/templates/index.html @@ -36,7 +36,7 @@ <a href="//{{ .GitURL }}">{{ .GitURL }}</a> </div> <div class="two columns"> - <a href="//{{ .DocURL }}"> + <a href="{{ .DocURL }}"> <img src="//pkg.go.dev/badge/{{ .ModulePath }}.svg" alt="Go Reference" /> </a> </div> |