From d5416d850c9b697bc8fb189841e1c1e622494f5e Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sat, 15 Feb 2025 00:32:39 +0800 Subject: templates: *.html.tmpl -> *.tmpl --- templates/repo_index.html.tmpl | 93 ------------------------------------------ 1 file changed, 93 deletions(-) delete mode 100644 templates/repo_index.html.tmpl (limited to 'templates/repo_index.html.tmpl') diff --git a/templates/repo_index.html.tmpl b/templates/repo_index.html.tmpl deleted file mode 100644 index 29e597e..0000000 --- a/templates/repo_index.html.tmpl +++ /dev/null @@ -1,93 +0,0 @@ -{{- define "repo_index" -}} - - - - {{ template "head_common" . }} - {{ .group_name }}/repos/{{ .repo_name }} – {{ .global.forge_title }} - - - {{ template "header" . }} -
- - - - - - - - - - - - - - - - {{ if .repo_description }} - - - - - {{ end }} - -
Repo info
Name{{ .repo_name }}
Clonegit clone {{ .clone_url }}
Description{{ .repo_description }}
-
-
- - - - - - - - - {{- range .commits }} - - - - - - {{- end }} - -
{{ .Message | first_line }} - - - {{ .Author.When.Format "2006-01-02 15:04:05 -0700" }} -
-
-
- - - - - - - - - {{- $ref_type := .ref_type }} - {{- $ref := .ref_name }} - {{- range .files }} - - - - - - {{- end }} - -
{{ .Mode }}{{ .Name }}{{ if not .Is_file }}/{{ end }}{{ .Size }}
-
-
-
- - -
- {{ .readme }} -
-
-
- - - -{{- end -}} -- cgit v1.2.3