-
- {{if .Repository.DescriptionHtml}}{{.Repository.DescriptionHtml}}{{else}}{{.i18n.Tr "repo.no_desc"}}{{end}}
- {{.Repository.Website}}
-
-
- {{if .IsFile}}
- {{template "repo/view_file" .}}
- {{else}}
- {{template "repo/view_list" .}}
- {{end}}
+{{template "base/head" .}}
+
+ {{template "repo/header" .}}
+
+ {{template "repo/sidebar" .}}
+
+
+
+ {{if .Repository.DescriptionHtml}}{{.Repository.DescriptionHtml}}{{else}}{{.i18n.Tr "repo.no_desc"}}{{end}}
+ {{.Repository.Website}}
+
+
+
+
- {{template "repo/sidebar" .}}
+
+
+
+ {{if .IsFile}}
+ {{template "repo/view_file" .}}
+ {{else}}
+ {{template "repo/view_list" .}}
+ {{end}}
+
-{{template "ng/base/footer" .}}
+{{template "base/footer" .}}
diff --git a/templates/repo/sidebar.tmpl b/templates/repo/sidebar.tmpl
index 6859dabf44..df033c0e15 100644
--- a/templates/repo/sidebar.tmpl
+++ b/templates/repo/sidebar.tmpl
@@ -1,30 +1,19 @@
-