From a0761c2c80c04256882505a59f8ff5e003846f83 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Thu, 13 Feb 2025 09:12:56 +0800 Subject: _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 --- 7 files changed, 28 deletions(-) delete mode 100644 templates/_repo_header.html.tmpl diff --git a/templates/_repo_header.html.tmpl b/templates/_repo_header.html.tmpl deleted file mode 100644 index 8a7fd4b..0000000 --- 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 4965d6e..bd87f87 100644 --- a/templates/repo_commit.html.tmpl +++ b/templates/repo_commit.html.tmpl @@ -7,9 +7,6 @@ {{ template "header" . }} -
- {{ template "repo_header" . }} -
diff --git a/templates/repo_index.html.tmpl b/templates/repo_index.html.tmpl index d799a22..4b20c27 100644 --- a/templates/repo_index.html.tmpl +++ b/templates/repo_index.html.tmpl @@ -7,9 +7,6 @@ {{ template "header" . }} -
- {{ template "repo_header" . }} -
diff --git a/templates/repo_log.html.tmpl b/templates/repo_log.html.tmpl index 34b7c45..e25f2bd 100644 --- a/templates/repo_log.html.tmpl +++ b/templates/repo_log.html.tmpl @@ -7,9 +7,6 @@ {{ template "header" . }} -
- {{ template "repo_header" . }} -
diff --git a/templates/repo_raw_dir.html.tmpl b/templates/repo_raw_dir.html.tmpl index dc7bb98..6b1da0d 100644 --- a/templates/repo_raw_dir.html.tmpl +++ b/templates/repo_raw_dir.html.tmpl @@ -7,9 +7,6 @@ {{ template "header" . }} -
- {{ template "repo_header" . }} -
diff --git a/templates/repo_tree_dir.html.tmpl b/templates/repo_tree_dir.html.tmpl index 73ea4cf..4386637 100644 --- a/templates/repo_tree_dir.html.tmpl +++ b/templates/repo_tree_dir.html.tmpl @@ -7,9 +7,6 @@ {{ template "header" . }} -
- {{ template "repo_header" . }} -
diff --git a/templates/repo_tree_file.html.tmpl b/templates/repo_tree_file.html.tmpl index 9f705c9..be78efd 100644 --- a/templates/repo_tree_file.html.tmpl +++ b/templates/repo_tree_file.html.tmpl @@ -8,9 +8,6 @@ {{ template "header" . }} -
- {{ template "repo_header" . }} -

/{{ .path_spec }} (raw)

-- cgit v1.2.3