From 4efe27ba918e3667d54b68d3cf15accac5889fef Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Tue, 25 Mar 2025 11:16:56 +0800 Subject: Responsive grid for commit and repo info --- templates/repo_index.tmpl | 42 +++++++++++++++++------------------------- 1 file changed, 17 insertions(+), 25 deletions(-) (limited to 'templates/repo_index.tmpl') diff --git a/templates/repo_index.tmpl b/templates/repo_index.tmpl index 39e55cf..cf5d1cd 100644 --- a/templates/repo_index.tmpl +++ b/templates/repo_index.tmpl @@ -12,35 +12,27 @@ {{- template "header" . -}}
- - - - - - - - - - - +
+
+
Repo info
+
Name
+
{{- .repo_name -}}
{{- if .repo_description -}} -
- - - +
Description
+
{{- .repo_description -}}
{{- end -}} - - - - +
SSH remote
+
{{- .ssh_clone_url -}}
{{- if .notes -}} - - - - +
Notes
+
+
    + {{- range .notes -}}
  • {{- . -}}
  • {{- end -}} +
+
{{- end -}} - -
Repo info
Name{{- .repo_name -}}
Description{{- .repo_description -}}
SSH remote{{- .ssh_clone_url -}}
Notes
    {{- range .notes -}}
  • {{- . -}}
  • {{- end -}}
+ +
-- cgit v1.2.3