diff --git a/.gopmfile b/.gopmfile index 4c05ae4aec..9e2440f3ef 100644 --- a/.gopmfile +++ b/.gopmfile @@ -4,7 +4,6 @@ path=github.com/gogits/gogs [deps] github.com/codegangsta/cli= github.com/codegangsta/martini= -github.com/martini-contrib/render= github.com/martini-contrib/sessions= github.com/Unknwon/com= github.com/Unknwon/cae= diff --git a/README.md b/README.md index c0cd9cceb2..ce5fd5f6db 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ There are two ways to install Gogs: ## Acknowledgments - Mail service is based on [WeTalk](https://github.com/beego/wetalk). -- Logo inspired by [martini](https://github.com/martini-contrib). +- Logo is inspired by [martini](https://github.com/martini-contrib). ## Contributors diff --git a/models/repo.go b/models/repo.go index 38ab3d4a9b..fce7d7f530 100644 --- a/models/repo.go +++ b/models/repo.go @@ -34,6 +34,7 @@ type Repository struct { LowerName string `xorm:"unique(s) index not null"` Name string `xorm:"index not null"` Description string + Website string Private bool NumWatchs int NumStars int diff --git a/templates/repo/nav.tmpl b/templates/repo/nav.tmpl index b67f82d5e3..d261bbd6e9 100644 --- a/templates/repo/nav.tmpl +++ b/templates/repo/nav.tmpl @@ -3,7 +3,7 @@
a sentence to describe the repository.official-site
+{{.Repository.Description}}{{if .Repository.Website}}{{.Repository.Website}}{{end}}