aboutsummaryrefslogtreecommitdiff
path: root/templates/index.html
diff options
context:
space:
mode:
authorHenrique Dias <hacdias@gmail.com>2023-11-07 20:45:03 +0100
committerGitHub <noreply@github.com>2023-11-07 11:45:03 -0800
commit35e7777d1a11bff5e192aaae3145685a6a2aec60 (patch)
treeb662d39988865fa144e12b591d8e464f421a4606 /templates/index.html
parent686fb8782cfa89a807ecc6dcbc104c6dab43eb66 (diff)
downloadsally-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://[...]".
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html2
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>