aboutsummaryrefslogtreecommitdiff
path: root/templates/repo_index.html.tmpl
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-02-13 09:19:54 +0800
committerRunxi Yu <me@runxiyu.org>2025-02-13 09:19:54 +0800
commitcfc8bd2bd3930fc91847a71a8d0092c2c85b0f4a (patch)
tree3b4bfb39e86fb430f8f652b42ec03270e191b7b5 /templates/repo_index.html.tmpl
parent_repo_header.html: Purge (diff)
downloadforge-cfc8bd2bd3930fc91847a71a8d0092c2c85b0f4a.tar.gz
forge-cfc8bd2bd3930fc91847a71a8d0092c2c85b0f4a.tar.zst
forge-cfc8bd2bd3930fc91847a71a8d0092c2c85b0f4a.zip
repo_index: Add repo descriptions
Diffstat (limited to 'templates/repo_index.html.tmpl')
-rw-r--r--templates/repo_index.html.tmpl10
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>