aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-02-19 11:54:03 +0800
committerRunxi Yu <me@runxiyu.org>2025-02-19 11:54:03 +0800
commit4335ff2e93b5c52ba07290062e45e1b3364914c4 (patch)
treef134002469664dc31dff89f6faad07959c7214f3 /templates
parent*.go: Use lowercase error values (diff)
downloadforge-4335ff2e93b5c52ba07290062e45e1b3364914c4.tar.gz
forge-4335ff2e93b5c52ba07290062e45e1b3364914c4.tar.zst
forge-4335ff2e93b5c52ba07290062e45e1b3364914c4.zip
repo/index: Don't show HTTP clone URL as it's the same as the Web URL
Diffstat (limited to 'templates')
-rw-r--r--templates/repo_index.tmpl7
1 files changed, 2 insertions, 5 deletions
diff --git a/templates/repo_index.tmpl b/templates/repo_index.tmpl
index cc0d61a..1de48d1 100644
--- a/templates/repo_index.tmpl
+++ b/templates/repo_index.tmpl
@@ -26,11 +26,8 @@
</tr>
{{ end }}
<tr>
- <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>
+ <th scope="row">SSH remote</th>
+ <td><code>{{ .ssh_clone_url }}</code></td>
</tr>
</tbody>
</table>