mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-19 08:21:01 +00:00
Merge pull request #161 from floatdrop/identicon
Add identicon query param to GravatarPattern
This commit is contained in:
commit
b6c64cea96
2 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue