From a0761c2c80c04256882505a59f8ff5e003846f83 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Thu, 13 Feb 2025 09:12:56 +0800 Subject: [PATCH] _repo_header.html: Purge We'll integrate this into the main header in the future --- templates/_repo_header.html.tmpl | 10 ---------- templates/repo_commit.html.tmpl | 3 --- templates/repo_index.html.tmpl | 3 --- templates/repo_log.html.tmpl | 3 --- templates/repo_raw_dir.html.tmpl | 3 --- templates/repo_tree_dir.html.tmpl | 3 --- templates/repo_tree_file.html.tmpl | 3 --- diff --git a/templates/_repo_header.html.tmpl b/templates/_repo_header.html.tmpl deleted file mode 100644 index 8a7fd4b0f76644ff97f3efd076478ef6aef17713..0000000000000000000000000000000000000000 --- a/templates/_repo_header.html.tmpl +++ /dev/null @@ -1,10 +0,0 @@ -{{- define "repo_header" -}} -/ -{{ .group_name }} -/ -: -/ -repos -/ -{{ .repo_name }} -{{- end -}} diff --git a/templates/repo_commit.html.tmpl b/templates/repo_commit.html.tmpl index 4965d6e91b3b5fc9ad021586661dfbe9643920b5..bd87f87873ac479f5e7780c1e87b1de43c1f057e 100644 --- a/templates/repo_commit.html.tmpl +++ b/templates/repo_commit.html.tmpl @@ -7,9 +7,6 @@ {{ .group_name }}/repos/{{ .repo_name }} – Lindenii Forge {{ template "header" . }} -
- {{ template "repo_header" . }} -
diff --git a/templates/repo_index.html.tmpl b/templates/repo_index.html.tmpl index d799a225e2595c170708b26303953bde96ac14d7..4b20c2747967d01532db9b16a007ab3275881194 100644 --- a/templates/repo_index.html.tmpl +++ b/templates/repo_index.html.tmpl @@ -7,9 +7,6 @@ {{ .group_name }}/repos/{{ .repo_name }} – Lindenii Forge {{ template "header" . }} -
- {{ template "repo_header" . }} -
diff --git a/templates/repo_log.html.tmpl b/templates/repo_log.html.tmpl index 34b7c45bb9768330b023e882174dbf5a911bb797..e25f2bd6fe7b6bea08d349c87fb2f165482c552f 100644 --- a/templates/repo_log.html.tmpl +++ b/templates/repo_log.html.tmpl @@ -7,9 +7,6 @@ Log of {{ .group_name }}/repos/{{ .repo_name }} – Lindenii Forge {{ template "header" . }} -
- {{ template "repo_header" . }} -
diff --git a/templates/repo_raw_dir.html.tmpl b/templates/repo_raw_dir.html.tmpl index dc7bb9864c76baad92eef7c746a2174d818da8cf..6b1da0dfd15a6c75cb63e04fc0e2674ec2b06b76 100644 --- a/templates/repo_raw_dir.html.tmpl +++ b/templates/repo_raw_dir.html.tmpl @@ -7,9 +7,6 @@ {{ .group_name }}/repos/{{ .repo_name }}/{{ .path_spec }}{{ if ne .path_spec "" }}/{{ end }} – Lindenii Forge {{ template "header" . }} -
- {{ template "repo_header" . }} -
diff --git a/templates/repo_tree_dir.html.tmpl b/templates/repo_tree_dir.html.tmpl index 73ea4cf6680645a639a5045ea8ab3a3348ee568c..4386637ae282590fac1125a457bb273c875ebaa5 100644 --- a/templates/repo_tree_dir.html.tmpl +++ b/templates/repo_tree_dir.html.tmpl @@ -7,9 +7,6 @@ {{ .group_name }}/repos/{{ .repo_name }}/{{ .path_spec }}{{ if ne .path_spec "" }}/{{ end }} – Lindenii Forge {{ template "header" . }} -
- {{ template "repo_header" . }} -
diff --git a/templates/repo_tree_file.html.tmpl b/templates/repo_tree_file.html.tmpl index 9f705c9c420ff284d5d89e4710d7df9a804a2b61..be78efdeee0cad2cd1c6d7a876807fa657c5d967 100644 --- a/templates/repo_tree_file.html.tmpl +++ b/templates/repo_tree_file.html.tmpl @@ -8,9 +8,6 @@ {{ .group_name }}/repos/{{ .repo_name }}/{{ .path_spec }} – Lindenii Forge {{ template "header" . }} -
- {{ template "repo_header" . }} -

/{{ .path_spec }} (raw)

-- 2.48.1