From eabe72f5f264ca1b9f4c1df37ff697e80d75f35c Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Tue, 18 Feb 2025 08:21:24 +0800 Subject: [PATCH] repo_index.html: Move the repo description before the clone URLs --- templates/repo_index.tmpl | 12 ++++++------ diff --git a/templates/repo_index.tmpl b/templates/repo_index.tmpl index e858f6f82f77c7f440b2dfefb77d23ce644b805c..e078c7466594a177b792a7b5d33a69aad0080286 100644 --- a/templates/repo_index.tmpl +++ b/templates/repo_index.tmpl @@ -19,6 +19,12 @@ Name {{ .repo_name }} + {{ if .repo_description }} + + Description + {{ .repo_description }} + + {{ end }} Clone git clone {{ .ssh_clone_url }} @@ -26,12 +32,6 @@ git clone {{ .http_clone_url }} - {{ if .repo_description }} - - Description - {{ .repo_description }} - - {{ end }} -- 2.48.1