mirror of
https://github.com/go-gitea/gitea.git
synced 2025-12-24 09:32:00 +01:00
remove size default as we specify it everywhere
This commit is contained in:
parent
5625d991c5
commit
a2cf45d0dd
@ -2,11 +2,10 @@
|
||||
* Repo: The repo
|
||||
* ShowRepoAvatar: Enable repo avatar when `true`
|
||||
* ShowRepoOwnerAvatar: Enable owner avatars when `true`
|
||||
* Size: Icon size in pixels, default is 16
|
||||
* Size: Icon size in pixels
|
||||
*
|
||||
* Note: Keep the icon logic in sync with web_src/js/utils/mappings.ts
|
||||
*/}}
|
||||
{{$size := or .Size 16}}
|
||||
{{$avatarLink := (.Repo.RelAvatarLink ctx)}}
|
||||
|
||||
{{if .ShowRepoOwnerAvatar}}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user