diff --git a/templates/repo/home.tmpl b/templates/repo/home.tmpl index 601605ba44..3f82f79c69 100644 --- a/templates/repo/home.tmpl +++ b/templates/repo/home.tmpl @@ -147,8 +147,10 @@ - {{template "repo/code/recently_pushed_new_branches" .}} - {{template "repo/code/fork_sync_message" .}} + {{if (not .Repository.IsArchived)}} + {{template "repo/code/recently_pushed_new_branches" .}} + {{template "repo/code/fork_sync_message" .}} + {{end}} {{if .IsViewFile}} {{template "repo/view_file" .}}