aboutsummaryrefslogtreecommitdiff
path: root/templates/index.tmpl
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--templates/index.tmpl37
1 files changed, 17 insertions, 20 deletions
diff --git a/templates/index.tmpl b/templates/index.tmpl
index c3b8bef..2e039a9 100644
--- a/templates/index.tmpl
+++ b/templates/index.tmpl
@@ -12,28 +12,25 @@
<body class="index">
{{ template "header" . }}
<div class="padding-wrapper">
- <table class="wide">
- <thead>
+ <table class="wide">
+ <thead>
+ <tr>
+ <th colspan="2" class="title-row">Groups</th>
+ </tr>
+ </thead>
+ <tbody>
+ {{- range .groups }}
<tr>
- <th colspan="2" class="title-row">
- Groups
- </th>
+ <td>
+ <a href="{{ .Name }}/">{{ .Name }}</a>
+ </td>
+ <td>
+ {{ .Description }}
+ </td>
</tr>
- </thead>
- <tbody>
- {{- range .groups }}
- <tr>
- <td>
- <a href="{{ .Name }}/:/repos/">{{ .Name }}</a>
- </td>
- <td>
- {{ .Description }}
- </td>
- </tr>
- {{- end }}
- </tbody>
- </table>
- </div>
+ {{- end }}
+ </tbody>
+ </table>
<div class="padding-wrapper">
<table class="wide">
<thead>