From a2cf45d0dd10922b902913a140184499ec8c2bba Mon Sep 17 00:00:00 2001 From: silverwind Date: Thu, 4 Dec 2025 21:56:54 +0100 Subject: [PATCH] remove size default as we specify it everywhere --- templates/repo/icon.tmpl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/templates/repo/icon.tmpl b/templates/repo/icon.tmpl index 09f4b0a224..f4cd1363cb 100644 --- a/templates/repo/icon.tmpl +++ b/templates/repo/icon.tmpl @@ -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}}