0
0
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:
silverwind 2025-12-04 21:56:54 +01:00
parent 5625d991c5
commit a2cf45d0dd
No known key found for this signature in database
GPG Key ID: 2E62B41C93869443

View File

@ -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}}