From 7133932ac6b31530f009ba892e193d54116c7445 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Mon, 31 Mar 2025 11:55:15 +0800 Subject: Add branches page --- templates/repo_index.tmpl | 47 +++++++---------------------------------------- 1 file changed, 7 insertions(+), 40 deletions(-) (limited to 'templates/repo_index.tmpl') diff --git a/templates/repo_index.tmpl b/templates/repo_index.tmpl index d07ebf5..4c0595e 100644 --- a/templates/repo_index.tmpl +++ b/templates/repo_index.tmpl @@ -43,47 +43,14 @@ {{- .repo_description -}} -
-
-
-
Repo info
-
Name
-
{{- .repo_name -}}
- {{- if .repo_description -}} -
Description
-
{{- .repo_description -}}
- {{- end -}} -
SSH remote
-
{{- .ssh_clone_url -}}
- {{- if .notes -}} -
Notes
-
-
    - {{- range .notes -}}
  • {{- . -}}
  • {{- end -}} -
-
- {{- end -}} -
-
-
-
- - - - - - - - {{- range .branches -}} - - - - {{- end -}} - -
Branches
- {{ . }} -
+ {{- if .notes -}} +
Notes
+
+ {{- end -}} +

{{- .ssh_clone_url -}}

{{- if .commits -}}
-- cgit v1.2.3