diff options
author | Runxi Yu <me@runxiyu.org> | 2025-02-13 09:19:54 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-02-13 09:19:54 +0800 |
commit | cfc8bd2bd3930fc91847a71a8d0092c2c85b0f4a (patch) | |
tree | 3b4bfb39e86fb430f8f652b42ec03270e191b7b5 /templates | |
parent | _repo_header.html: Purge (diff) | |
download | forge-cfc8bd2bd3930fc91847a71a8d0092c2c85b0f4a.tar.gz forge-cfc8bd2bd3930fc91847a71a8d0092c2c85b0f4a.tar.zst forge-cfc8bd2bd3930fc91847a71a8d0092c2c85b0f4a.zip |
repo_index: Add repo descriptions
Diffstat (limited to 'templates')
-rw-r--r-- | templates/repo_index.html.tmpl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/repo_index.html.tmpl b/templates/repo_index.html.tmpl index 4b20c27..f6615d7 100644 --- a/templates/repo_index.html.tmpl +++ b/templates/repo_index.html.tmpl @@ -16,9 +16,19 @@ </thead> <tbody> <tr> + <th scope="row">Name</th> + <td>{{ .repo_name }}</td> + </tr> + <tr> <th scope="row">Clone</th> <td><code>git clone {{ .clone_url }}</code></td> </tr> + {{ if .repo_description }} + <tr> + <th scope="row">Description</th> + <td>{{ .repo_description }}</td> + </tr> + {{ end }} </tbody> </table> </div> |