From c36e7d322e74a55749ce2c2934c6fcfa82cff274 Mon Sep 17 00:00:00 2001 From: Unknown Date: Mon, 14 Apr 2014 04:11:33 -0400 Subject: Mirror updates --- templates/home.tmpl | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'templates/home.tmpl') diff --git a/templates/home.tmpl b/templates/home.tmpl index d3a8c0c3..5827f618 100644 --- a/templates/home.tmpl +++ b/templates/home.tmpl @@ -1,8 +1,27 @@ {{template "base/head" .}} {{template "base/navbar" .}}
+ {{if not .Repos}}

Hey there, welcome to the land of Gogs!

If you just get your Gogs server running, go install guide page will help you setup things for your first-time run.

+ {{else}} +

Hey there, welcome to the land of Gogs!

+
Here are some recent updated repositories:
+
+
    + {{range .Repos}} +
  • +
    {{.NumForks}}
    +

    + {{.Name}} +

    +

    {{.Description}}

    +
    Last updated {{.Updated|TimeSince}}
    +
  • + {{end}} +
+
+ {{end}}
{{template "base/footer" .}} -- cgit v1.2.3