summaryrefslogtreecommitdiff
path: root/indexHtml.go
diff options
context:
space:
mode:
Diffstat (limited to 'indexHtml.go')
-rw-r--r--indexHtml.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/indexHtml.go b/indexHtml.go
index a809229..0aa4b17 100644
--- a/indexHtml.go
+++ b/indexHtml.go
@@ -90,6 +90,10 @@ func indexBodyScanConfig(w http.ResponseWriter) {
}
func indexBodyRepo(w http.ResponseWriter, gourl string, giturl string, desc string) {
+ // skip displaying packages without a desc
+ if desc == "" {
+ return
+ }
// fmt.Fprintln(w, " <tr> <td><h5>log/ (needed for the gui)</h5></td> <td></td> <td></td> <td></td> <td></td> </tr>")
fmt.Fprintln(w, " <tr>")
// fmt.Fprintln(w, " <td>"+gourl+"</td>")