diff options
| author | Abhinav Gupta <abg@uber.com> | 2022-05-17 09:50:19 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-17 09:50:19 -0700 |
| commit | d0e640828cf8e97c64266cfbea03e6c8145f15b2 (patch) | |
| tree | cf1bd1acb2f516b495ff1ae70eb8f4f856f5e200 | |
| parent | c40da362956f3f18fdcb3a86c0b7f000f54bf909 (diff) | |
| download | sally-d0e640828cf8e97c64266cfbea03e6c8145f15b2.tar.gz | |
badge: Use pkg.go.dev badge (#55)
When we originally switched to pkg.go.dev (#40),
it did not offer documentation badges so we relied on a third-party
service.
That's no longer true (https://pkg.go.dev/badge) so we can use
pkg.go.dev's more "on-brand" badges for this.
| -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 2599bf0..317d403 100644 --- a/templates/index.html +++ b/templates/index.html @@ -27,7 +27,7 @@ </td> <td> <a href="//{{ $.Godoc.Host }}/{{ $importPath }}"> - <img src="//img.shields.io/badge/godoc-reference-blue?style=for-the-badge" alt="GoDoc" /> + <img src="//pkg.go.dev/badge/{{ $importPath }}.svg" alt="Go Reference" /> </a> </td> </tr> |