From 6f9f62d453c94ac8d69baebcf51589d9b623d306 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 16 Feb 2025 02:28:55 +0800 Subject: repo_index: Add HTTP clone along with SSH --- templates/repo_index.tmpl | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'templates/repo_index.tmpl') 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 @@ {{ .repo_name }} - Clone - git clone {{ .clone_url }} + Clone + git clone {{ .ssh_clone_url }} + + + git clone {{ .http_clone_url }} {{ if .repo_description }} -- cgit v1.2.3