The frontpage uses a rather strange method to obtain the commit's avatar which I've overlooked earlier. I don't exactly understand how it works but this change fixes the wrong default avatars by using the function that was in previous use. Also introduced a few constants for size an size increase factor. Fixes: https://github.com/go-gitea/gitea/issues/13844 |
||
|---|---|---|
| .. | ||
| adopt.go | ||
| branch.go | ||
| cache.go | ||
| check.go | ||
| commits.go | ||
| commits_test.go | ||
| create.go | ||
| create_test.go | ||
| fork.go | ||
| fork_test.go | ||
| generate.go | ||
| hooks.go | ||
| init.go | ||
| main_test.go | ||
| push.go | ||
| repo.go | ||
| update.go | ||