From 2456a2b54162f702422d209f0c0d53ac6c150cfe Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Thu, 6 Mar 2025 17:56:51 +0800 Subject: [PATCH] dead code --- templates/repo/home_content.tmpl | 1 - 1 file changed, 1 deletion(-) diff --git a/templates/repo/home_content.tmpl b/templates/repo/home_content.tmpl index e2d7827466..5bf3d67d0c 100644 --- a/templates/repo/home_content.tmpl +++ b/templates/repo/home_content.tmpl @@ -1,5 +1,4 @@ {{$isTreePathRoot := not .TreeNames}} -{{$showSidebar := and $isTreePathRoot (not .HideRepoInfo) (not .IsBlame)}} {{template "repo/sub_menu" .}}