diff --git a/templates/repo/home.tmpl b/templates/repo/home.tmpl
index 9965bdeee..de0bd7cbd 100644
--- a/templates/repo/home.tmpl
+++ b/templates/repo/home.tmpl
@@ -4,10 +4,7 @@
{{template "base/alert" .}}
-
- {{if .Repository.DescriptionHTML}}
{{.Repository.DescriptionHTML}}{{else if .IsRepositoryAdmin}}
{{.i18n.Tr "repo.no_desc"}}{{end}}
-
{{.Repository.Website}}
-
+
{{if .RepoSearchEnabled}}
{{end}}
-
- {{if and .Permission.IsAdmin (not .Repository.IsArchived)}}
-
- {{end}}
-
- {{.i18n.Tr "repo.topic.count_prompt"}}
- {{.i18n.Tr "repo.topic.format_prompt"}}
-
+
{{if .Repository.IsArchived}}
{{.i18n.Tr "repo.archive.title"}}
@@ -141,13 +112,108 @@
{{end}}
- {{if .IsViewFile}}
- {{template "repo/view_file" .}}
- {{else if .IsBlame}}
- {{template "repo/blame" .}}
- {{else}}
- {{template "repo/view_list" .}}
- {{end}}
+