Skip to content

Commit

Permalink
fix: documentation URL in index page (#126)
Browse files Browse the repository at this point in the history
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://[...]".
  • Loading branch information
hacdias authored Nov 7, 2023
1 parent 686fb87 commit 35e7777
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 35e7777

Please sign in to comment.