diff options
author | Runxi Yu <me@runxiyu.org> | 2025-02-18 08:21:24 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-02-18 08:21:24 +0800 |
commit | eabe72f5f264ca1b9f4c1df37ff697e80d75f35c (patch) | |
tree | 0b3fbb7252a710b540068a93e4fc444846874070 /templates | |
parent | repo_commit.html: Move the commit message out of the table (diff) | |
download | forge-eabe72f5f264ca1b9f4c1df37ff697e80d75f35c.tar.gz forge-eabe72f5f264ca1b9f4c1df37ff697e80d75f35c.tar.zst forge-eabe72f5f264ca1b9f4c1df37ff697e80d75f35c.zip |
repo_index.html: Move the repo description before the clone URLs
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> |