aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/home.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo/home.tmpl')
-rw-r--r--templates/repo/home.tmpl6
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/repo/home.tmpl b/templates/repo/home.tmpl
index a9d7f30403..476277a807 100644
--- a/templates/repo/home.tmpl
+++ b/templates/repo/home.tmpl
@@ -4,9 +4,11 @@
{{template "repo/header" .}}
<div id="repo-content" class="clear container">
<div id="repo-main" class="left grid-5-6">
- <p id="repo-desc">
+ <p id="repo-desc">{{if .Repository.DescriptionHtml}}
<span class="description">{{.Repository.DescriptionHtml}}</span>
- <a class="link" href="{{.Repository.Website}}">{{.Repository.Website}}</a>
+ <a class="link" href="{{.Repository.Website}}">{{.Repository.Website}}</a>{{else}}
+ <span class="no-description text-italic"><i>No Description</i></span>
+ {{end}}
</p>
<ul id="repo-file-nav" class="clear menu menu-line">
<!-- <li>