Merge pull request #161 from floatdrop/identicon

Add identicon query param to GravatarPattern
This commit is contained in:
Brad Rydzewski 2014-03-05 11:37:10 -08:00
commit b6c64cea96
2 changed files with 2 additions and 2 deletions

View file

@ -16,7 +16,7 @@ var (
)
// Gravatar URL pattern
var GravatarPattern = "https://gravatar.com/avatar/%s?s=%v"
var GravatarPattern = "https://gravatar.com/avatar/%s?s=%v&d=identicon"
// Simple regular expression used to verify that an email
// address matches the expected standard format.

View file

@ -34,7 +34,7 @@
<dt>Duration</dt>
<dd>{{ if .Build.IsRunning }}--{{else}}{{ .Build.HumanDuration }}{{end}}</dd>
</div>
<img src="{{.Commit.Image}}?d=identicon">
<img src="{{.Commit.Image}}">
<div class="commit-summary">
<dt>Commit</dt>
<dd><u>{{ .Commit.HashShort }}</u></dd>