aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorGravatar Abhinav Gupta <abg@uber.com> 2022-05-17 09:50:19 -0700
committerGravatar GitHub <noreply@github.com> 2022-05-17 09:50:19 -0700
commitd0e640828cf8e97c64266cfbea03e6c8145f15b2 (patch)
treecf1bd1acb2f516b495ff1ae70eb8f4f856f5e200 /templates
parentc40da362956f3f18fdcb3a86c0b7f000f54bf909 (diff)
downloadsally-d0e640828cf8e97c64266cfbea03e6c8145f15b2.tar.gz
sally-d0e640828cf8e97c64266cfbea03e6c8145f15b2.tar.zst
sally-d0e640828cf8e97c64266cfbea03e6c8145f15b2.zip
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.
Diffstat (limited to 'templates')
-rw-r--r--templates/index.html2
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>