diff --git a/custom/public/css/index.css b/custom/public/css/index.css new file mode 100644 index 000000000..aeb7bf6d4 --- /dev/null +++ b/custom/public/css/index.css @@ -0,0 +1,7 @@ +.repository.file.list #repo-desc { + font-size: 1.0em; + margin-bottom: 1.0rem; +} +.repository.file.list #repo-desc p{ + margin-bottom: 1.0rem; +} \ No newline at end of file diff --git a/templates/repo/home.tmpl b/templates/repo/home.tmpl index 3dcf58650..b2807fa1f 100644 --- a/templates/repo/home.tmpl +++ b/templates/repo/home.tmpl @@ -4,7 +4,30 @@
{{template "base/alert" .}}
- + {{if and .Permission.IsAdmin (not .Repository.IsArchived)}} + + {{end}} +
+ {{.i18n.Tr "repo.topic.count_prompt"}} + {{.i18n.Tr "repo.topic.format_prompt"}} +
+ {{if .RepoSearchEnabled}}

- + {{range .Topics}}{{.Name}}{{end}} {{if and .Permission.IsAdmin (not .Repository.IsArchived)}}{{.i18n.Tr "repo.topic.manage_topics"}}{{end}}

- {{if and .Permission.IsAdmin (not .Repository.IsArchived)}} - - {{end}} -
- {{.i18n.Tr "repo.topic.count_prompt"}} - {{.i18n.Tr "repo.topic.format_prompt"}} -
+

- + {{range .LanguageStats}} {{.Language}} {{end}}

- + {{if .LICENSE}} {{.LICENSE}} {{end}}

-
+
+ +

贡献者