{{define "content"}}
工作室自建 Git 服务

工作室的代码
都在这台服务器上

所有项目对访客可见,登录成员可以推送代码。每一次推送都会记录是谁、改了什么,并由 AI 自动生成「What's New」。

{{if .User}} 新建项目 账号设置 {{else}} 登录并参与协作 {{end}}
{{num .Data.StatRepos}}个项目
{{num .Data.StatUsers}}位成员
{{num .Data.StatPushes}}次推送留痕
{{if .Data.Announcement}}
公告 {{.Data.Announcement}}
{{end}}

{{if .Data.Query}}搜索「{{.Data.Query}}」{{else}}全部项目{{end}}

{{if .Data.Query}}清除搜索{{end}}
{{if .Data.HasRepos}} {{else}}

{{if .Data.Query}}没有找到匹配的项目{{else}}还没有任何项目{{end}}

{{if .Data.Query}}换个关键词试试。{{else}}创建第一个项目,然后把本地代码推上来吧。{{end}}

{{if and .User (not .Data.Query)}}新建项目{{end}}
{{end}}
{{end}}