diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/repo_index.tmpl | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/repo_index.tmpl b/templates/repo_index.tmpl index e858f6f..e078c74 100644 --- a/templates/repo_index.tmpl +++ b/templates/repo_index.tmpl @@ -19,6 +19,12 @@ <th scope="row">Name</th> <td>{{ .repo_name }}</td> </tr> + {{ if .repo_description }} + <tr> + <th scope="row">Description</th> + <td>{{ .repo_description }}</td> + </tr> + {{ end }} <tr> <th scope="row" rowspan="2">Clone</th> <td><code>git clone {{ .ssh_clone_url }}</code></td> @@ -26,12 +32,6 @@ <tr> <td><code>git clone {{ .http_clone_url }}</code></td> </tr> - {{ if .repo_description }} - <tr> - <th scope="row">Description</th> - <td>{{ .repo_description }}</td> - </tr> - {{ end }} </tbody> </table> </div> |