diff options
author | Runxi Yu <me@runxiyu.org> | 2025-02-16 02:28:55 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-02-16 02:28:55 +0800 |
commit | 6f9f62d453c94ac8d69baebcf51589d9b623d306 (patch) | |
tree | f311981eb5b86049ca85e9e2a58a86d5f4c45aea /templates | |
parent | http_*: Add HTTP cloning (diff) | |
download | forge-6f9f62d453c94ac8d69baebcf51589d9b623d306.tar.gz forge-6f9f62d453c94ac8d69baebcf51589d9b623d306.tar.zst forge-6f9f62d453c94ac8d69baebcf51589d9b623d306.zip |
repo_index: Add HTTP clone along with SSH
Diffstat (limited to 'templates')
-rw-r--r-- | templates/repo_index.tmpl | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/templates/repo_index.tmpl b/templates/repo_index.tmpl index 29e597e..e858f6f 100644 --- a/templates/repo_index.tmpl +++ b/templates/repo_index.tmpl @@ -20,8 +20,11 @@ <td>{{ .repo_name }}</td> </tr> <tr> - <th scope="row">Clone</th> - <td><code>git clone {{ .clone_url }}</code></td> + <th scope="row" rowspan="2">Clone</th> + <td><code>git clone {{ .ssh_clone_url }}</code></td> + </tr> + <tr> + <td><code>git clone {{ .http_clone_url }}</code></td> </tr> {{ if .repo_description }} <tr> |